{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/aowsiak/Dropbox/Territorial Window (Solo)/CMPS 08-2015/Final Manuscript Files/All Published Results.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}25 Apr 2016, 09:18:15

{com}. do "/var/folders/85/m7mmkq454hscrr59tsws9fq00000gn/T//SD31534.000000"
{txt}
{com}. *Replication data for:
. *Owsiak, Andrew P. 2016. Foundations for integrating the democratic and territorial peace arguments. Conflict Management and Peace Science.
. 
. *NOTES
. *a) This file replicates all tables in the manuscript file and appendix. These results from the analyses below also create the data underlying Figures 1 and A1.
. *b) This file uses univar and spost9_ado packages; please install before continuing.
. *c) Three data files are needed: "MID Onset.dta", "MIDs.dta", and "Crises.dta".
. 
. use "MID Onset.dta", clear
{txt}
{com}. 
. set more off
{txt}
{com}. 
. *Description
. tab conttype

     {txt}Direct {c |}
 contiguity {c |}
 type based {c |}
     on COW {c |}
 data. 0 is {c |}
non-contigu {c |}
        ous {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}    642,202       95.23       95.23
{txt}          1 {c |}{res}     19,164        2.84       98.07
{txt}          2 {c |}{res}        854        0.13       98.20
{txt}          3 {c |}{res}        956        0.14       98.34
{txt}          4 {c |}{res}      4,444        0.66       99.00
{txt}          5 {c |}{res}      6,771        1.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}    674,391      100.00
{txt}
{com}. tab settlem

    {txt}settlem {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}      3,574       21.12       21.12
{txt}          1 {c |}{res}     13,350       78.88      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}     16,924      100.00
{txt}
{com}. 
. univar midonset crisis jtdem6 settlem interaction majinvolve atopally lncincratio peaceyears crisispeace, dec(5)
                                        {txt}-------------- Quantiles --------------
Variable       n     Mean     S.D.      Min      .25      Mdn      .75      Max
-------------------------------------------------------------------------------
midonset {res} 674391  0.00336  0.05791  0.00000  0.00000  0.00000  0.00000  1.00000
  {txt}crisis {res} 500339  0.00081  0.02840  0.00000  0.00000  0.00000  0.00000  1.00000
  {txt}jtdem6 {res} 674391  0.09390  0.29169  0.00000  0.00000  0.00000  0.00000  1.00000
 {txt}settlem {res}  16924  0.78882  0.40816  0.00000  1.00000  1.00000  1.00000  1.00000
{txt}interaction {res}  16924  0.12095  0.32608  0.00000  0.00000  0.00000  0.00000  1.00000
{txt}majinvolve {res} 674391  0.10544  0.30712  0.00000  0.00000  0.00000  0.00000  1.00000
{txt}atopally {res} 674391  0.09121  0.28790  0.00000  0.00000  0.00000  0.00000  1.00000
{txt}lncincratio {res} 673288 -2.42928  1.90996 -1.3e+01 -3.47431 -1.99825 -0.92079  0.00000
{txt}peaceyears {res} 674391 27.45384 28.66240  0.00000  8.00000 19.00000 35.00000  1.9e+02
{txt}crisispeace {res} 500339 21.23670 18.16318  0.00000  7.00000 17.00000 30.00000 77.00000
{txt}-------------------------------------------------------------------------------

{com}. 
. tab midonset jtdem6, chi2 gamma

{txt}MID Onset: {c |}
     A MID {c |}
  occurred {c |}
  betw cc1 {c |}
and cc2 in {c |}
      year {c |}
    (0=no, {c |}        jtdem6
 1=yes).   {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}   608,934     63,188 {txt}{c |}{res}   672,122 
{txt}         1 {c |}{res}     2,132        137 {txt}{c |}{res}     2,269 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}   611,066     63,325 {txt}{c |}{res}   674,391 

{txt}          Pearson chi2({res}1{txt}) = {res} 30.0663  {txt} Pr = {res}0.000
{txt}                    gamma = {res} -0.2351  {txt}ASE = {res}0.042
{txt}
{com}. tab midonset settlem, chi2 gamma 

{txt}MID Onset: {c |}
     A MID {c |}
  occurred {c |}
  betw cc1 {c |}
and cc2 in {c |}
      year {c |}
    (0=no, {c |}        settlem
 1=yes).   {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}     3,174     12,748 {txt}{c |}{res}    15,922 
{txt}         1 {c |}{res}       400        602 {txt}{c |}{res}     1,002 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}     3,574     13,350 {txt}{c |}{res}    16,924 

{txt}          Pearson chi2({res}1{txt}) = {res}226.0277  {txt} Pr = {res}0.000
{txt}                    gamma = {res} -0.4548  {txt}ASE = {res}0.027
{txt}
{com}. table midonset jtdem6 settlem, contents(freq) col row

{txt}{hline 10}{c TT}{hline 49}
MID       {c |}
Onset: A  {c |}
MID       {c |}
occurred  {c |}
betw cc1  {c |}
and cc2   {c |}
in year   {c |}                settlem and jtdem6               
(0=no,    {c |} {hline 10} 0 {hline 9}    {hline 10} 1 {hline 9}
1=yes).   {c |}      0       1   Total         0       1   Total
{hline 10}{c +}{hline 49}
        0 {c |}  {res}3,019     155   3,174    10,748   2,000  12,748
        {txt}1 {c |}    {res}382      18     400       555      47     602
          {txt}{c |} 
    Total {c |}  {res}3,401     173   3,574    11,303   2,047  13,350
{txt}{hline 10}{c BT}{hline 49}

{com}. 
. tab crisis jtdem6, chi2 gamma

{txt}There is a {c |}
   new ICB {c |}
    crisis {c |}
  betw cc1 {c |}
and cc2 in {c |}
      year {c |}
    (0=no, {c |}        jtdem6
   1=yes). {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}   456,030     43,905 {txt}{c |}{res}   499,935 
{txt}         1 {c |}{res}       388         16 {txt}{c |}{res}       404 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}   456,418     43,921 {txt}{c |}{res}   500,339 

{txt}          Pearson chi2({res}1{txt}) = {res} 11.7201  {txt} Pr = {res}0.001
{txt}                    gamma = {res} -0.4002  {txt}ASE = {res}0.107
{txt}
{com}. tab crisis settlem, chi2 gamma 

{txt}There is a {c |}
   new ICB {c |}
    crisis {c |}
  betw cc1 {c |}
and cc2 in {c |}
      year {c |}
    (0=no, {c |}        settlem
   1=yes). {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}     1,742      9,772 {txt}{c |}{res}    11,514 
{txt}         1 {c |}{res}        62        122 {txt}{c |}{res}       184 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}     1,804      9,894 {txt}{c |}{res}    11,698 

{txt}          Pearson chi2({res}1{txt}) = {res} 47.8625  {txt} Pr = {res}0.000
{txt}                    gamma = {res} -0.4806  {txt}ASE = {res}0.061
{txt}
{com}. table crisis jtdem6 settlem, contents(freq) col row

{txt}{hline 10}{c TT}{hline 43}
There is  {c |}
a new ICB {c |}
crisis    {c |}
betw cc1  {c |}
and cc2   {c |}
in year   {c |}             settlem and jtdem6            
(0=no,    {c |} {hline 8} 0 {hline 8}    {hline 8} 1 {hline 8}
1=yes).   {c |}     0      1  Total        0      1  Total
{hline 10}{c +}{hline 43}
        0 {c |} {res}1,594    148  1,742    8,311  1,461  9,772
        {txt}1 {c |}    {res}59      3     62      115      7    122
          {txt}{c |} 
    Total {c |} {res}1,653    151  1,804    8,426  1,468  9,894
{txt}{hline 10}{c BT}{hline 43}

{com}. 
. tab settlem jtdem6, chi2 gamma

           {txt}{c |}        jtdem6
   settlem {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}     3,401        173 {txt}{c |}{res}     3,574 
{txt}         1 {c |}{res}    11,303      2,047 {txt}{c |}{res}    13,350 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}    14,704      2,220 {txt}{c |}{res}    16,924 

{txt}          Pearson chi2({res}1{txt}) = {res}272.3546  {txt} Pr = {res}0.000
{txt}                    gamma = {res}  0.5614  {txt}ASE = {res}0.028
{txt}
{com}. tab settlem jtdem6 if midonset==1, chi2 gamma

           {txt}{c |}        jtdem6
   settlem {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}       382         18 {txt}{c |}{res}       400 
{txt}         1 {c |}{res}       555         47 {txt}{c |}{res}       602 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       937         65 {txt}{c |}{res}     1,002 

{txt}          Pearson chi2({res}1{txt}) = {res}  4.3333  {txt} Pr = {res}0.037
{txt}                    gamma = {res}  0.2850  {txt}ASE = {res}0.131
{txt}
{com}. tab settlem jtdem6 if crisis==1, chi2 gamma

           {txt}{c |}        jtdem6
   settlem {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}        59          3 {txt}{c |}{res}        62 
{txt}         1 {c |}{res}       115          7 {txt}{c |}{res}       122 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}       174         10 {txt}{c |}{res}       184 

{txt}          Pearson chi2({res}1{txt}) = {res}  0.0646  {txt} Pr = {res}0.799
{txt}                    gamma = {res}  0.0897  {txt}ASE = {res}0.351
{txt}
{com}. 
. 
. *Table 2 & A1.
. *Model 1. Base model
. logit midonset jtdem6 settlem interaction peaceyears _midspline1 _midspline2 _midspline3 if conttype==1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-3791.0026}  
Iteration 1:{space 3}log pseudolikelihood = {res:-3532.4044}  
Iteration 2:{space 3}log pseudolikelihood = {res:-3288.6006}  
Iteration 3:{space 3}log pseudolikelihood = {res:-3287.2499}  
Iteration 4:{space 3}log pseudolikelihood = {res: -3287.235}  
Iteration 5:{space 3}log pseudolikelihood = {res: -3287.235}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}    16,845
{txt}{col 49}Wald chi2({res}7{txt}){col 67}= {res}    473.77
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res} -3287.235{txt}{col 49}Pseudo R2{col 67}= {res}    0.1329

{txt}{ralign 78:(Std. Err. adjusted for {res:313} clusters in cdyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    midonset{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}jtdem6 {c |}{col 14}{res}{space 2} .0404518{col 26}{space 2} .3335127{col 37}{space 1}    0.12{col 46}{space 3}0.903{col 54}{space 4}-.6132211{col 67}{space 3} .6941247
{txt}{space 5}settlem {c |}{col 14}{res}{space 2}-.4722242{col 26}{space 2} .1176779{col 37}{space 1}   -4.01{col 46}{space 3}0.000{col 54}{space 4}-.7028686{col 67}{space 3}-.2415797
{txt}{space 1}interaction {c |}{col 14}{res}{space 2}-.5745171{col 26}{space 2} .4242497{col 37}{space 1}   -1.35{col 46}{space 3}0.176{col 54}{space 4}-1.406031{col 67}{space 3}  .256997
{txt}{space 2}peaceyears {c |}{col 14}{res}{space 2}-.2880763{col 26}{space 2} .0229327{col 37}{space 1}  -12.56{col 46}{space 3}0.000{col 54}{space 4}-.3330236{col 67}{space 3}-.2431291
{txt}{space 1}_midspline1 {c |}{col 14}{res}{space 2}-.0013548{col 26}{space 2} .0001842{col 37}{space 1}   -7.35{col 46}{space 3}0.000{col 54}{space 4}-.0017159{col 67}{space 3}-.0009937
{txt}{space 1}_midspline2 {c |}{col 14}{res}{space 2} .0006752{col 26}{space 2} .0001161{col 37}{space 1}    5.81{col 46}{space 3}0.000{col 54}{space 4} .0004476{col 67}{space 3} .0009028
{txt}{space 1}_midspline3 {c |}{col 14}{res}{space 2}-.0000586{col 26}{space 2} .0000234{col 37}{space 1}   -2.50{col 46}{space 3}0.012{col 54}{space 4}-.0001044{col 67}{space 3}-.0000127
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.9766799{col 26}{space 2} .1306366{col 37}{space 1}   -7.48{col 46}{space 3}0.000{col 54}{space 4}-1.232723{col 67}{space 3} -.720637
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(settlem=0 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0575{col 32}{txt}[{res} 0.0486{txt},{res}{col 44} 0.0663{txt}]
  Pr(y=0|x):{res}{col 22} 0.9425{col 32}{txt}[{res} 0.9337{txt},{res}{col 44} 0.9514{txt}]

         jtdem6      settlem  interaction   peaceyears  _midspline1  _midspline2  _midspline3
x=  {res}          0            0            0    23.303235   -22709.093   -43466.492   -59333.723
{txt}
{com}. prvalue, x(settlem=1 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0366{col 32}{txt}[{res} 0.0327{txt},{res}{col 44} 0.0405{txt}]
  Pr(y=0|x):{res}{col 22} 0.9634{col 32}{txt}[{res} 0.9595{txt},{res}{col 44} 0.9673{txt}]

         jtdem6      settlem  interaction   peaceyears  _midspline1  _midspline2  _midspline3
x=  {res}          0            1            0    23.303235   -22709.093   -43466.492   -59333.723
{txt}
{com}. prvalue, x(settlem=0 jtdem=1 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0597{col 32}{txt}[{res} 0.0291{txt},{res}{col 44} 0.0903{txt}]
  Pr(y=0|x):{res}{col 22} 0.9403{col 32}{txt}[{res} 0.9097{txt},{res}{col 44} 0.9709{txt}]

         jtdem6      settlem  interaction   peaceyears  _midspline1  _midspline2  _midspline3
x=  {res}          1            0            0    23.303235   -22709.093   -43466.492   -59333.723
{txt}
{com}. prvalue, x(settlem=1 jtdem=1 interaction=1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0218{col 32}{txt}[{res} 0.0127{txt},{res}{col 44} 0.0309{txt}]
  Pr(y=0|x):{res}{col 22} 0.9782{col 32}{txt}[{res} 0.9691{txt},{res}{col 44} 0.9873{txt}]

         jtdem6      settlem  interaction   peaceyears  _midspline1  _midspline2  _midspline3
x=  {res}          1            1            1    23.303235   -22709.093   -43466.492   -59333.723
{txt}
{com}. 
. *Model 2. Main model, 1816-2001
. logit midonset jtdem6 settlem interaction majinvolve atopally lncincratio peaceyears _midspline1 _midspline2 _midspline3 if conttype==1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-3791.0026}  
Iteration 1:{space 3}log pseudolikelihood = {res:-3527.5955}  
Iteration 2:{space 3}log pseudolikelihood = {res:-3276.4692}  
Iteration 3:{space 3}log pseudolikelihood = {res:-3275.0132}  
Iteration 4:{space 3}log pseudolikelihood = {res:-3274.9975}  
Iteration 5:{space 3}log pseudolikelihood = {res:-3274.9975}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}    16,845
{txt}{col 49}Wald chi2({res}10{txt}){col 67}= {res}    497.58
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-3274.9975{txt}{col 49}Pseudo R2{col 67}= {res}    0.1361

{txt}{ralign 78:(Std. Err. adjusted for {res:313} clusters in cdyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    midonset{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}jtdem6 {c |}{col 14}{res}{space 2} .2018305{col 26}{space 2} .3428158{col 37}{space 1}    0.59{col 46}{space 3}0.556{col 54}{space 4}-.4700762{col 67}{space 3} .8737372
{txt}{space 5}settlem {c |}{col 14}{res}{space 2}-.4582362{col 26}{space 2} .1174675{col 37}{space 1}   -3.90{col 46}{space 3}0.000{col 54}{space 4}-.6884682{col 67}{space 3}-.2280041
{txt}{space 1}interaction {c |}{col 14}{res}{space 2}-.7458922{col 26}{space 2}  .428207{col 37}{space 1}   -1.74{col 46}{space 3}0.082{col 54}{space 4}-1.585162{col 67}{space 3} .0933781
{txt}{space 2}majinvolve {c |}{col 14}{res}{space 2} .0333535{col 26}{space 2} .1181538{col 37}{space 1}    0.28{col 46}{space 3}0.778{col 54}{space 4}-.1982238{col 67}{space 3} .2649307
{txt}{space 4}atopally {c |}{col 14}{res}{space 2}-.0314549{col 26}{space 2} .0926482{col 37}{space 1}   -0.34{col 46}{space 3}0.734{col 54}{space 4} -.213042{col 67}{space 3} .1501322
{txt}{space 1}lncincratio {c |}{col 14}{res}{space 2} .1316908{col 26}{space 2} .0360924{col 37}{space 1}    3.65{col 46}{space 3}0.000{col 54}{space 4}  .060951{col 67}{space 3} .2024307
{txt}{space 2}peaceyears {c |}{col 14}{res}{space 2}-.2854981{col 26}{space 2}  .022579{col 37}{space 1}  -12.64{col 46}{space 3}0.000{col 54}{space 4}-.3297522{col 67}{space 3} -.241244
{txt}{space 1}_midspline1 {c |}{col 14}{res}{space 2}-.0013392{col 26}{space 2} .0001829{col 37}{space 1}   -7.32{col 46}{space 3}0.000{col 54}{space 4}-.0016978{col 67}{space 3}-.0009807
{txt}{space 1}_midspline2 {c |}{col 14}{res}{space 2} .0006655{col 26}{space 2} .0001155{col 37}{space 1}    5.76{col 46}{space 3}0.000{col 54}{space 4}  .000439{col 67}{space 3} .0008919
{txt}{space 1}_midspline3 {c |}{col 14}{res}{space 2}-.0000567{col 26}{space 2} .0000234{col 37}{space 1}   -2.42{col 46}{space 3}0.015{col 54}{space 4}-.0001026{col 67}{space 3}-.0000109
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.7828129{col 26}{space 2} .1491332{col 37}{space 1}   -5.25{col 46}{space 3}0.000{col 54}{space 4}-1.075109{col 67}{space 3}-.4905173
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(settlem=0 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0563{col 32}{txt}[{res} 0.0477{txt},{res}{col 44} 0.0649{txt}]
  Pr(y=0|x):{res}{col 22} 0.9437{col 32}{txt}[{res} 0.9351{txt},{res}{col 44} 0.9523{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          0            0            0    .23888394    .43455031   -1.7501756    23.303235

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -22709.093   -43466.492   -59333.723
{txt}
{com}. prvalue, x(settlem=1 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0363{col 32}{txt}[{res} 0.0324{txt},{res}{col 44} 0.0403{txt}]
  Pr(y=0|x):{res}{col 22} 0.9637{col 32}{txt}[{res} 0.9597{txt},{res}{col 44} 0.9676{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          0            1            0    .23888394    .43455031   -1.7501756    23.303235

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -22709.093   -43466.492   -59333.723
{txt}
{com}. prvalue, x(settlem=0 jtdem=1 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0680{col 32}{txt}[{res} 0.0326{txt},{res}{col 44} 0.1035{txt}]
  Pr(y=0|x):{res}{col 22} 0.9320{col 32}{txt}[{res} 0.8965{txt},{res}{col 44} 0.9674{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          1            0            0    .23888394    .43455031   -1.7501756    23.303235

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -22709.093   -43466.492   -59333.723
{txt}
{com}. prvalue, x(settlem=1 jtdem=1 interaction=1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0214{col 32}{txt}[{res} 0.0127{txt},{res}{col 44} 0.0301{txt}]
  Pr(y=0|x):{res}{col 22} 0.9786{col 32}{txt}[{res} 0.9699{txt},{res}{col 44} 0.9873{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          1            1            1    .23888394    .43455031   -1.7501756    23.303235

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -22709.093   -43466.492   -59333.723
{txt}
{com}. 
. *Model 3. Non-world war years, 1816-2001
. logit midonset jtdem6 settlem interaction majinvolve atopally lncincratio peaceyears _midspline1 _midspline2 _midspline3 if worldwaryr==0 & conttype==1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-3646.6694}  
Iteration 1:{space 3}log pseudolikelihood = {res:-3392.7238}  
Iteration 2:{space 3}log pseudolikelihood = {res:-3142.3135}  
Iteration 3:{space 3}log pseudolikelihood = {res:-3140.4724}  
Iteration 4:{space 3}log pseudolikelihood = {res:-3140.4339}  
Iteration 5:{space 3}log pseudolikelihood = {res:-3140.4338}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}    16,293
{txt}{col 49}Wald chi2({res}10{txt}){col 67}= {res}    491.76
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-3140.4338{txt}{col 49}Pseudo R2{col 67}= {res}    0.1388

{txt}{ralign 78:(Std. Err. adjusted for {res:313} clusters in cdyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    midonset{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}jtdem6 {c |}{col 14}{res}{space 2} .2552656{col 26}{space 2} .3286782{col 37}{space 1}    0.78{col 46}{space 3}0.437{col 54}{space 4}-.3889318{col 67}{space 3} .8994631
{txt}{space 5}settlem {c |}{col 14}{res}{space 2}-.4640459{col 26}{space 2} .1210855{col 37}{space 1}   -3.83{col 46}{space 3}0.000{col 54}{space 4}-.7013691{col 67}{space 3}-.2267227
{txt}{space 1}interaction {c |}{col 14}{res}{space 2} -.745725{col 26}{space 2} .4144086{col 37}{space 1}   -1.80{col 46}{space 3}0.072{col 54}{space 4}-1.557951{col 67}{space 3}  .066501
{txt}{space 2}majinvolve {c |}{col 14}{res}{space 2}-.0141209{col 26}{space 2} .1219981{col 37}{space 1}   -0.12{col 46}{space 3}0.908{col 54}{space 4}-.2532329{col 67}{space 3}  .224991
{txt}{space 4}atopally {c |}{col 14}{res}{space 2}-.0229627{col 26}{space 2} .0938362{col 37}{space 1}   -0.24{col 46}{space 3}0.807{col 54}{space 4}-.2068783{col 67}{space 3} .1609529
{txt}{space 1}lncincratio {c |}{col 14}{res}{space 2} .1398079{col 26}{space 2} .0358636{col 37}{space 1}    3.90{col 46}{space 3}0.000{col 54}{space 4} .0695165{col 67}{space 3} .2100993
{txt}{space 2}peaceyears {c |}{col 14}{res}{space 2}-.2887592{col 26}{space 2} .0231377{col 37}{space 1}  -12.48{col 46}{space 3}0.000{col 54}{space 4}-.3341083{col 67}{space 3}-.2434101
{txt}{space 1}_midspline1 {c |}{col 14}{res}{space 2}-.0013932{col 26}{space 2}  .000188{col 37}{space 1}   -7.41{col 46}{space 3}0.000{col 54}{space 4}-.0017616{col 67}{space 3}-.0010249
{txt}{space 1}_midspline2 {c |}{col 14}{res}{space 2} .0007069{col 26}{space 2} .0001196{col 37}{space 1}    5.91{col 46}{space 3}0.000{col 54}{space 4} .0004725{col 67}{space 3} .0009413
{txt}{space 1}_midspline3 {c |}{col 14}{res}{space 2}-.0000672{col 26}{space 2} .0000247{col 37}{space 1}   -2.72{col 46}{space 3}0.007{col 54}{space 4}-.0001156{col 67}{space 3}-.0000187
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.7635261{col 26}{space 2} .1510512{col 37}{space 1}   -5.05{col 46}{space 3}0.000{col 54}{space 4}-1.059581{col 67}{space 3}-.4674713
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(settlem=0 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0547{col 32}{txt}[{res} 0.0460{txt},{res}{col 44} 0.0633{txt}]
  Pr(y=0|x):{res}{col 22} 0.9453{col 32}{txt}[{res} 0.9367{txt},{res}{col 44} 0.9540{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          0            0            0    .23875284    .43724299   -1.7491171    23.216657

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -22546.767   -43134.798   -58860.642
{txt}
{com}. prvalue, x(settlem=1 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0351{col 32}{txt}[{res} 0.0311{txt},{res}{col 44} 0.0390{txt}]
  Pr(y=0|x):{res}{col 22} 0.9649{col 32}{txt}[{res} 0.9610{txt},{res}{col 44} 0.9689{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          0            1            0    .23875284    .43724299   -1.7491171    23.216657

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -22546.767   -43134.798   -58860.642
{txt}
{com}. prvalue, x(settlem=0 jtdem=1 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0695{col 32}{txt}[{res} 0.0351{txt},{res}{col 44} 0.1039{txt}]
  Pr(y=0|x):{res}{col 22} 0.9305{col 32}{txt}[{res} 0.8961{txt},{res}{col 44} 0.9649{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          1            0            0    .23875284    .43724299   -1.7491171    23.216657

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -22546.767   -43134.798   -58860.642
{txt}
{com}. prvalue, x(settlem=1 jtdem=1 interaction=1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0218{col 32}{txt}[{res} 0.0131{txt},{res}{col 44} 0.0305{txt}]
  Pr(y=0|x):{res}{col 22} 0.9782{col 32}{txt}[{res} 0.9695{txt},{res}{col 44} 0.9869{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          1            1            1    .23875284    .43724299   -1.7491171    23.216657

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -22546.767   -43134.798   -58860.642
{txt}
{com}. 
. *Model 4. 1900-2001
. logit midonset jtdem6 settlem interaction majinvolve atopally lncincratio peaceyears _midspline1 _midspline2 _midspline3 if year>1900 & conttype==1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-3339.7834}  
Iteration 1:{space 3}log pseudolikelihood = {res:-3090.4622}  
Iteration 2:{space 3}log pseudolikelihood = {res: -2855.935}  
Iteration 3:{space 3}log pseudolikelihood = {res:-2854.3454}  
Iteration 4:{space 3}log pseudolikelihood = {res:-2854.3173}  
Iteration 5:{space 3}log pseudolikelihood = {res:-2854.3172}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}    14,031
{txt}{col 49}Wald chi2({res}10{txt}){col 67}= {res}    533.12
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-2854.3172{txt}{col 49}Pseudo R2{col 67}= {res}    0.1454

{txt}{ralign 78:(Std. Err. adjusted for {res:307} clusters in cdyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    midonset{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}jtdem6 {c |}{col 14}{res}{space 2}-.0036496{col 26}{space 2} .3982613{col 37}{space 1}   -0.01{col 46}{space 3}0.993{col 54}{space 4}-.7842273{col 67}{space 3} .7769281
{txt}{space 5}settlem {c |}{col 14}{res}{space 2} -.625724{col 26}{space 2} .1265655{col 37}{space 1}   -4.94{col 46}{space 3}0.000{col 54}{space 4}-.8737879{col 67}{space 3}-.3776602
{txt}{space 1}interaction {c |}{col 14}{res}{space 2}-.5834518{col 26}{space 2} .4705263{col 37}{space 1}   -1.24{col 46}{space 3}0.215{col 54}{space 4}-1.505666{col 67}{space 3} .3387627
{txt}{space 2}majinvolve {c |}{col 14}{res}{space 2}  .324194{col 26}{space 2} .1177282{col 37}{space 1}    2.75{col 46}{space 3}0.006{col 54}{space 4} .0934509{col 67}{space 3} .5549371
{txt}{space 4}atopally {c |}{col 14}{res}{space 2}-.1658156{col 26}{space 2} .0971547{col 37}{space 1}   -1.71{col 46}{space 3}0.088{col 54}{space 4}-.3562352{col 67}{space 3}  .024604
{txt}{space 1}lncincratio {c |}{col 14}{res}{space 2} .1475169{col 26}{space 2} .0333382{col 37}{space 1}    4.42{col 46}{space 3}0.000{col 54}{space 4} .0821752{col 67}{space 3} .2128586
{txt}{space 2}peaceyears {c |}{col 14}{res}{space 2}-.2919308{col 26}{space 2}   .02344{col 37}{space 1}  -12.45{col 46}{space 3}0.000{col 54}{space 4}-.3378724{col 67}{space 3}-.2459892
{txt}{space 1}_midspline1 {c |}{col 14}{res}{space 2} -.001413{col 26}{space 2} .0001945{col 37}{space 1}   -7.27{col 46}{space 3}0.000{col 54}{space 4}-.0017942{col 67}{space 3}-.0010318
{txt}{space 1}_midspline2 {c |}{col 14}{res}{space 2} .0007044{col 26}{space 2} .0001231{col 37}{space 1}    5.72{col 46}{space 3}0.000{col 54}{space 4} .0004631{col 67}{space 3} .0009457
{txt}{space 1}_midspline3 {c |}{col 14}{res}{space 2}-.0000602{col 26}{space 2} .0000249{col 37}{space 1}   -2.41{col 46}{space 3}0.016{col 54}{space 4} -.000109{col 67}{space 3}-.0000113
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.5385257{col 26}{space 2} .1597013{col 37}{space 1}   -3.37{col 46}{space 3}0.001{col 54}{space 4}-.8515346{col 67}{space 3}-.2255168
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(settlem=0 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0714{col 32}{txt}[{res} 0.0593{txt},{res}{col 44} 0.0835{txt}]
  Pr(y=0|x):{res}{col 22} 0.9286{col 32}{txt}[{res} 0.9165{txt},{res}{col 44} 0.9407{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          0            0            0    .18623049    .49903784   -1.7239449    23.476231

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -24077.348   -46558.435   -64451.583
{txt}
{com}. prvalue, x(settlem=1 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0395{col 32}{txt}[{res} 0.0353{txt},{res}{col 44} 0.0437{txt}]
  Pr(y=0|x):{res}{col 22} 0.9605{col 32}{txt}[{res} 0.9563{txt},{res}{col 44} 0.9647{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          0            1            0    .18623049    .49903784   -1.7239449    23.476231

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -24077.348   -46558.435   -64451.583
{txt}
{com}. prvalue, x(settlem=0 jtdem=1 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0712{col 32}{txt}[{res} 0.0277{txt},{res}{col 44} 0.1147{txt}]
  Pr(y=0|x):{res}{col 22} 0.9288{col 32}{txt}[{res} 0.8853{txt},{res}{col 44} 0.9723{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          1            0            0    .18623049    .49903784   -1.7239449    23.476231

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -24077.348   -46558.435   -64451.583
{txt}
{com}. prvalue, x(settlem=1 jtdem=1 interaction=1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0224{col 32}{txt}[{res} 0.0134{txt},{res}{col 44} 0.0313{txt}]
  Pr(y=0|x):{res}{col 22} 0.9776{col 32}{txt}[{res} 0.9687{txt},{res}{col 44} 0.9866{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          1            1            1    .18623049    .49903784   -1.7239449    23.476231

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -24077.348   -46558.435   -64451.583
{txt}
{com}. 
. *Model 5. 1945-2001
. logit midonset jtdem6 settlem interaction majinvolve atopally lncincratio peaceyears _midspline1 _midspline2 _midspline3 if year>1945 & conttype==1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-2630.4175}  
Iteration 1:{space 3}log pseudolikelihood = {res:-2437.0064}  
Iteration 2:{space 3}log pseudolikelihood = {res:-2189.6768}  
Iteration 3:{space 3}log pseudolikelihood = {res: -2186.729}  
Iteration 4:{space 3}log pseudolikelihood = {res:-2186.6078}  
Iteration 5:{space 3}log pseudolikelihood = {res:-2186.6068}  
Iteration 6:{space 3}log pseudolikelihood = {res:-2186.6068}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}    11,053
{txt}{col 49}Wald chi2({res}10{txt}){col 67}= {res}    480.19
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-2186.6068{txt}{col 49}Pseudo R2{col 67}= {res}    0.1687

{txt}{ralign 78:(Std. Err. adjusted for {res:302} clusters in cdyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    midonset{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}jtdem6 {c |}{col 14}{res}{space 2}  .216737{col 26}{space 2} .3331882{col 37}{space 1}    0.65{col 46}{space 3}0.515{col 54}{space 4}   -.4363{col 67}{space 3} .8697739
{txt}{space 5}settlem {c |}{col 14}{res}{space 2} -.717484{col 26}{space 2} .1601167{col 37}{space 1}   -4.48{col 46}{space 3}0.000{col 54}{space 4}-1.031307{col 67}{space 3}-.4036609
{txt}{space 1}interaction {c |}{col 14}{res}{space 2}-.6342049{col 26}{space 2}  .429613{col 37}{space 1}   -1.48{col 46}{space 3}0.140{col 54}{space 4}-1.476231{col 67}{space 3} .2078211
{txt}{space 2}majinvolve {c |}{col 14}{res}{space 2} .1225854{col 26}{space 2} .1769782{col 37}{space 1}    0.69{col 46}{space 3}0.489{col 54}{space 4}-.2242855{col 67}{space 3} .4694563
{txt}{space 4}atopally {c |}{col 14}{res}{space 2}-.2243561{col 26}{space 2} .1074079{col 37}{space 1}   -2.09{col 46}{space 3}0.037{col 54}{space 4}-.4348717{col 67}{space 3}-.0138404
{txt}{space 1}lncincratio {c |}{col 14}{res}{space 2} .1598436{col 26}{space 2} .0391896{col 37}{space 1}    4.08{col 46}{space 3}0.000{col 54}{space 4} .0830335{col 67}{space 3} .2366537
{txt}{space 2}peaceyears {c |}{col 14}{res}{space 2}-.2980942{col 26}{space 2} .0263859{col 37}{space 1}  -11.30{col 46}{space 3}0.000{col 54}{space 4}-.3498097{col 67}{space 3}-.2463787
{txt}{space 1}_midspline1 {c |}{col 14}{res}{space 2}-.0013459{col 26}{space 2} .0002307{col 37}{space 1}   -5.83{col 46}{space 3}0.000{col 54}{space 4} -.001798{col 67}{space 3}-.0008938
{txt}{space 1}_midspline2 {c |}{col 14}{res}{space 2} .0006478{col 26}{space 2} .0001488{col 37}{space 1}    4.35{col 46}{space 3}0.000{col 54}{space 4} .0003562{col 67}{space 3} .0009395
{txt}{space 1}_midspline3 {c |}{col 14}{res}{space 2}-.0000442{col 26}{space 2} .0000312{col 37}{space 1}   -1.42{col 46}{space 3}0.157{col 54}{space 4}-.0001054{col 67}{space 3}  .000017
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.3105192{col 26}{space 2}   .20033{col 37}{space 1}   -1.55{col 46}{space 3}0.121{col 54}{space 4}-.7031586{col 67}{space 3} .0821203
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(settlem=0 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0695{col 32}{txt}[{res} 0.0541{txt},{res}{col 44} 0.0849{txt}]
  Pr(y=0|x):{res}{col 22} 0.9305{col 32}{txt}[{res} 0.9151{txt},{res}{col 44} 0.9459{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          0            0            0     .1547996    .57568081   -1.7048843    23.335475

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -23827.756   -46055.525   -63880.704
{txt}
{com}. prvalue, x(settlem=1 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0352{col 32}{txt}[{res} 0.0307{txt},{res}{col 44} 0.0397{txt}]
  Pr(y=0|x):{res}{col 22} 0.9648{col 32}{txt}[{res} 0.9603{txt},{res}{col 44} 0.9693{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          0            1            0     .1547996    .57568081   -1.7048843    23.335475

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -23827.756   -46055.525   -63880.704
{txt}
{com}. prvalue, x(settlem=0 jtdem=1 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0849{col 32}{txt}[{res} 0.0451{txt},{res}{col 44} 0.1247{txt}]
  Pr(y=0|x):{res}{col 22} 0.9151{col 32}{txt}[{res} 0.8753{txt},{res}{col 44} 0.9549{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          1            0            0     .1547996    .57568081   -1.7048843    23.335475

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -23827.756   -46055.525   -63880.704
{txt}
{com}. prvalue, x(settlem=1 jtdem=1 interaction=1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0234{col 32}{txt}[{res} 0.0134{txt},{res}{col 44} 0.0335{txt}]
  Pr(y=0|x):{res}{col 22} 0.9766{col 32}{txt}[{res} 0.9665{txt},{res}{col 44} 0.9866{txt}]

         jtdem6      settlem  interaction   majinvolve     atopally  lncincratio   peaceyears
x=  {res}          1            1            1     .1547996    .57568081   -1.7048843    23.335475

    {txt}_midspline1  _midspline2  _midspline3
x=  {res} -23827.756   -46055.525   -63880.704
{txt}
{com}. 
. 
. *Crisis Onset
. *Tables A2 & A3. 
. *Model 1. Basic model
. logit crisis jtdem6 settlem interaction crisispeace _crisspline1 _crisspline2 _crisspline3 if conttype==1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-937.04589}  
Iteration 1:{space 3}log pseudolikelihood = {res:-931.27566}  
Iteration 2:{space 3}log pseudolikelihood = {res:-870.73145}  
Iteration 3:{space 3}log pseudolikelihood = {res:-870.37481}  
Iteration 4:{space 3}log pseudolikelihood = {res:-870.37239}  
Iteration 5:{space 3}log pseudolikelihood = {res:-870.37239}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}    11,620
{txt}{col 49}Wald chi2({res}7{txt}){col 67}= {res}    133.75
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-870.37239{txt}{col 49}Pseudo R2{col 67}= {res}    0.0712

{txt}{ralign 78:(Std. Err. adjusted for {res:305} clusters in cdyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      crisis{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}jtdem6 {c |}{col 14}{res}{space 2}  -.35361{col 26}{space 2} .5016039{col 37}{space 1}   -0.70{col 46}{space 3}0.481{col 54}{space 4}-1.336735{col 67}{space 3} .6295155
{txt}{space 5}settlem {c |}{col 14}{res}{space 2}-.5950283{col 26}{space 2} .1954935{col 37}{space 1}   -3.04{col 46}{space 3}0.002{col 54}{space 4}-.9781885{col 67}{space 3}-.2118681
{txt}{space 1}interaction {c |}{col 14}{res}{space 2}-.4953185{col 26}{space 2} .7196586{col 37}{space 1}   -0.69{col 46}{space 3}0.491{col 54}{space 4}-1.905823{col 67}{space 3} .9151865
{txt}{space 1}crisispeace {c |}{col 14}{res}{space 2}-.2620831{col 26}{space 2} .0532018{col 37}{space 1}   -4.93{col 46}{space 3}0.000{col 54}{space 4}-.3663566{col 67}{space 3}-.1578096
{txt}_crisspline1 {c |}{col 14}{res}{space 2}-.0018803{col 26}{space 2} .0006005{col 37}{space 1}   -3.13{col 46}{space 3}0.002{col 54}{space 4}-.0030572{col 67}{space 3}-.0007034
{txt}_crisspline2 {c |}{col 14}{res}{space 2} .0010389{col 26}{space 2} .0004202{col 37}{space 1}    2.47{col 46}{space 3}0.013{col 54}{space 4} .0002153{col 67}{space 3} .0018625
{txt}_crisspline3 {c |}{col 14}{res}{space 2}-.0001503{col 26}{space 2} .0001217{col 37}{space 1}   -1.24{col 46}{space 3}0.217{col 54}{space 4}-.0003888{col 67}{space 3} .0000882
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.283568{col 26}{space 2} .2125873{col 37}{space 1}  -10.74{col 46}{space 3}0.000{col 54}{space 4}-2.700232{col 67}{space 3}-1.866905
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(settlem=0 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0196{col 32}{txt}[{res} 0.0139{txt},{res}{col 44} 0.0253{txt}]
  Pr(y=0|x):{res}{col 22} 0.9804{col 32}{txt}[{res} 0.9747{txt},{res}{col 44} 0.9861{txt}]

          jtdem6       settlem   interaction   crisispeace  _crisspline1  _crisspline2  _crisspline3
x=  {res}           0             0             0     23.502065    -12411.467    -21530.064    -23686.983
{txt}
{com}. prvalue, x(settlem=1 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0109{col 32}{txt}[{res} 0.0087{txt},{res}{col 44} 0.0131{txt}]
  Pr(y=0|x):{res}{col 22} 0.9891{col 32}{txt}[{res} 0.9869{txt},{res}{col 44} 0.9913{txt}]

          jtdem6       settlem   interaction   crisispeace  _crisspline1  _crisspline2  _crisspline3
x=  {res}           0             1             0     23.502065    -12411.467    -21530.064    -23686.983
{txt}
{com}. prvalue, x(settlem=0 jtdem=1 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0138{col 32}{txt}[{res} 0.0024{txt},{res}{col 44} 0.0253{txt}]
  Pr(y=0|x):{res}{col 22} 0.9862{col 32}{txt}[{res} 0.9747{txt},{res}{col 44} 0.9976{txt}]

          jtdem6       settlem   interaction   crisispeace  _crisspline1  _crisspline2  _crisspline3
x=  {res}           1             0             0     23.502065    -12411.467    -21530.064    -23686.983
{txt}
{com}. prvalue, x(settlem=1 jtdem=1 interaction=1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0047{col 32}{txt}[{res} 0.0006{txt},{res}{col 44} 0.0088{txt}]
  Pr(y=0|x):{res}{col 22} 0.9953{col 32}{txt}[{res} 0.9912{txt},{res}{col 44} 0.9994{txt}]

          jtdem6       settlem   interaction   crisispeace  _crisspline1  _crisspline2  _crisspline3
x=  {res}           1             1             1     23.502065    -12411.467    -21530.064    -23686.983
{txt}
{com}. 
. *Model 2. Main model, 1816-2001
. logit crisis jtdem6 settlem interaction majinvolve atopally lncincratio crisispeace _crisspline1 _crisspline2 _crisspline3 if conttype==1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-937.04589}  
Iteration 1:{space 3}log pseudolikelihood = {res:-930.47087}  
Iteration 2:{space 3}log pseudolikelihood = {res:-860.08554}  
Iteration 3:{space 3}log pseudolikelihood = {res:-859.57552}  
Iteration 4:{space 3}log pseudolikelihood = {res:-859.57143}  
Iteration 5:{space 3}log pseudolikelihood = {res:-859.57143}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}    11,620
{txt}{col 49}Wald chi2({res}10{txt}){col 67}= {res}    153.17
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-859.57143{txt}{col 49}Pseudo R2{col 67}= {res}    0.0827

{txt}{ralign 78:(Std. Err. adjusted for {res:305} clusters in cdyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      crisis{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}jtdem6 {c |}{col 14}{res}{space 2}-.2785799{col 26}{space 2} .5701963{col 37}{space 1}   -0.49{col 46}{space 3}0.625{col 54}{space 4}-1.396144{col 67}{space 3} .8389842
{txt}{space 5}settlem {c |}{col 14}{res}{space 2}-.5981528{col 26}{space 2} .2039121{col 37}{space 1}   -2.93{col 46}{space 3}0.003{col 54}{space 4}-.9978131{col 67}{space 3}-.1984924
{txt}{space 1}interaction {c |}{col 14}{res}{space 2}-.7121051{col 26}{space 2}  .738828{col 37}{space 1}   -0.96{col 46}{space 3}0.335{col 54}{space 4}-2.160181{col 67}{space 3} .7359712
{txt}{space 2}majinvolve {c |}{col 14}{res}{space 2} .8264413{col 26}{space 2} .2567525{col 37}{space 1}    3.22{col 46}{space 3}0.001{col 54}{space 4} .3232158{col 67}{space 3} 1.329667
{txt}{space 4}atopally {c |}{col 14}{res}{space 2} .0202941{col 26}{space 2} .1727599{col 37}{space 1}    0.12{col 46}{space 3}0.906{col 54}{space 4} -.318309{col 67}{space 3} .3588972
{txt}{space 1}lncincratio {c |}{col 14}{res}{space 2} .2308954{col 26}{space 2} .0761491{col 37}{space 1}    3.03{col 46}{space 3}0.002{col 54}{space 4}  .081646{col 67}{space 3} .3801449
{txt}{space 1}crisispeace {c |}{col 14}{res}{space 2} -.271455{col 26}{space 2} .0536071{col 37}{space 1}   -5.06{col 46}{space 3}0.000{col 54}{space 4}-.3765229{col 67}{space 3}-.1663871
{txt}_crisspline1 {c |}{col 14}{res}{space 2} -.001939{col 26}{space 2} .0006017{col 37}{space 1}   -3.22{col 46}{space 3}0.001{col 54}{space 4}-.0031183{col 67}{space 3}-.0007596
{txt}_crisspline2 {c |}{col 14}{res}{space 2} .0010707{col 26}{space 2} .0004208{col 37}{space 1}    2.54{col 46}{space 3}0.011{col 54}{space 4}  .000246{col 67}{space 3} .0018954
{txt}_crisspline3 {c |}{col 14}{res}{space 2}-.0001555{col 26}{space 2} .0001218{col 37}{space 1}   -1.28{col 46}{space 3}0.202{col 54}{space 4}-.0003942{col 67}{space 3} .0000832
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.028175{col 26}{space 2} .2460453{col 37}{space 1}   -8.24{col 46}{space 3}0.000{col 54}{space 4}-2.510415{col 67}{space 3}-1.545935
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(settlem=0 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0189{col 32}{txt}[{res} 0.0130{txt},{res}{col 44} 0.0248{txt}]
  Pr(y=0|x):{res}{col 22} 0.9811{col 32}{txt}[{res} 0.9752{txt},{res}{col 44} 0.9870{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           0             0             0     .17848537     .49870912    -1.7075981     23.502065

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -12411.467    -21530.064    -23686.983
{txt}
{com}. prvalue, x(settlem=1 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0105{col 32}{txt}[{res} 0.0084{txt},{res}{col 44} 0.0126{txt}]
  Pr(y=0|x):{res}{col 22} 0.9895{col 32}{txt}[{res} 0.9874{txt},{res}{col 44} 0.9916{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           0             1             0     .17848537     .49870912    -1.7075981     23.502065

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -12411.467    -21530.064    -23686.983
{txt}
{com}. prvalue, x(settlem=0 jtdem=1 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0144{col 32}{txt}[{res} 0.0009{txt},{res}{col 44} 0.0278{txt}]
  Pr(y=0|x):{res}{col 22} 0.9856{col 32}{txt}[{res} 0.9722{txt},{res}{col 44} 0.9991{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           1             0             0     .17848537     .49870912    -1.7075981     23.502065

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -12411.467    -21530.064    -23686.983
{txt}
{com}. prvalue, x(settlem=1 jtdem=1 interaction=1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0039{col 32}{txt}[{res} 0.0007{txt},{res}{col 44} 0.0071{txt}]
  Pr(y=0|x):{res}{col 22} 0.9961{col 32}{txt}[{res} 0.9929{txt},{res}{col 44} 0.9993{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           1             1             1     .17848537     .49870912    -1.7075981     23.502065

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -12411.467    -21530.064    -23686.983
{txt}
{com}. 
. *Model 3. Non-world war years, 1816-2001
. logit crisis jtdem6 settlem interaction majinvolve atopally lncincratio crisispeace _crisspline1 _crisspline2 _crisspline3 if worldwaryr==0 & conttype==1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-910.67394}  
Iteration 1:{space 3}log pseudolikelihood = {res:-907.76602}  
Iteration 2:{space 3}log pseudolikelihood = {res:-833.84918}  
Iteration 3:{space 3}log pseudolikelihood = {res: -833.3617}  
Iteration 4:{space 3}log pseudolikelihood = {res:-833.35801}  
Iteration 5:{space 3}log pseudolikelihood = {res:-833.35801}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}    11,261
{txt}{col 49}Wald chi2({res}10{txt}){col 67}= {res}    148.62
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-833.35801{txt}{col 49}Pseudo R2{col 67}= {res}    0.0849

{txt}{ralign 78:(Std. Err. adjusted for {res:303} clusters in cdyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      crisis{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}jtdem6 {c |}{col 14}{res}{space 2}-.2421394{col 26}{space 2} .5585012{col 37}{space 1}   -0.43{col 46}{space 3}0.665{col 54}{space 4}-1.336782{col 67}{space 3} .8525029
{txt}{space 5}settlem {c |}{col 14}{res}{space 2}-.6694039{col 26}{space 2} .2041623{col 37}{space 1}   -3.28{col 46}{space 3}0.001{col 54}{space 4}-1.069555{col 67}{space 3}-.2692531
{txt}{space 1}interaction {c |}{col 14}{res}{space 2}-.6803913{col 26}{space 2} .7275661{col 37}{space 1}   -0.94{col 46}{space 3}0.350{col 54}{space 4}-2.106395{col 67}{space 3} .7456121
{txt}{space 2}majinvolve {c |}{col 14}{res}{space 2} .7379088{col 26}{space 2} .2850878{col 37}{space 1}    2.59{col 46}{space 3}0.010{col 54}{space 4}  .179147{col 67}{space 3} 1.296671
{txt}{space 4}atopally {c |}{col 14}{res}{space 2}-.0469295{col 26}{space 2} .1704802{col 37}{space 1}   -0.28{col 46}{space 3}0.783{col 54}{space 4}-.3810646{col 67}{space 3} .2872055
{txt}{space 1}lncincratio {c |}{col 14}{res}{space 2} .2564146{col 26}{space 2}  .078388{col 37}{space 1}    3.27{col 46}{space 3}0.001{col 54}{space 4}  .102777{col 67}{space 3} .4100522
{txt}{space 1}crisispeace {c |}{col 14}{res}{space 2}-.2777046{col 26}{space 2} .0554955{col 37}{space 1}   -5.00{col 46}{space 3}0.000{col 54}{space 4}-.3864738{col 67}{space 3}-.1689355
{txt}_crisspline1 {c |}{col 14}{res}{space 2}-.0020344{col 26}{space 2} .0006155{col 37}{space 1}   -3.31{col 46}{space 3}0.001{col 54}{space 4}-.0032408{col 67}{space 3}-.0008279
{txt}_crisspline2 {c |}{col 14}{res}{space 2} .0011367{col 26}{space 2} .0004261{col 37}{space 1}    2.67{col 46}{space 3}0.008{col 54}{space 4} .0003016{col 67}{space 3} .0019718
{txt}_crisspline3 {c |}{col 14}{res}{space 2}-.0001719{col 26}{space 2} .0001212{col 37}{space 1}   -1.42{col 46}{space 3}0.156{col 54}{space 4}-.0004095{col 67}{space 3} .0000656
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.877526{col 26}{space 2}  .249416{col 37}{space 1}   -7.53{col 46}{space 3}0.000{col 54}{space 4}-2.366373{col 67}{space 3} -1.38868
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(settlem=0 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0199{col 32}{txt}[{res} 0.0137{txt},{res}{col 44} 0.0261{txt}]
  Pr(y=0|x):{res}{col 22} 0.9801{col 32}{txt}[{res} 0.9739{txt},{res}{col 44} 0.9863{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           0             0             0     .17760412     .50066602    -1.7063756     23.694077

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -12634.766    -21980.297    -24249.216
{txt}
{com}. prvalue, x(settlem=1 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0103{col 32}{txt}[{res} 0.0081{txt},{res}{col 44} 0.0124{txt}]
  Pr(y=0|x):{res}{col 22} 0.9897{col 32}{txt}[{res} 0.9876{txt},{res}{col 44} 0.9919{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           0             1             0     .17760412     .50066602    -1.7063756     23.694077

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -12634.766    -21980.297    -24249.216
{txt}
{com}. prvalue, x(settlem=0 jtdem=1 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0157{col 32}{txt}[{res} 0.0013{txt},{res}{col 44} 0.0300{txt}]
  Pr(y=0|x):{res}{col 22} 0.9843{col 32}{txt}[{res} 0.9700{txt},{res}{col 44} 0.9987{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           1             0             0     .17760412     .50066602    -1.7063756     23.694077

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -12634.766    -21980.297    -24249.216
{txt}
{com}. prvalue, x(settlem=1 jtdem=1 interaction=1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0041{col 32}{txt}[{res} 0.0008{txt},{res}{col 44} 0.0074{txt}]
  Pr(y=0|x):{res}{col 22} 0.9959{col 32}{txt}[{res} 0.9926{txt},{res}{col 44} 0.9992{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           1             1             1     .17760412     .50066602    -1.7063756     23.694077

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -12634.766    -21980.297    -24249.216
{txt}
{com}. 
. *Model 4. 1945-2001
. logit crisis jtdem6 settlem interaction majinvolve atopally lncincratio crisispeace _crisspline1 _crisspline2 _crisspline3 if year>1945 & conttype==1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-712.14131}  
Iteration 1:{space 3}log pseudolikelihood = {res: -656.8961}  
Iteration 2:{space 3}log pseudolikelihood = {res:-645.47584}  
Iteration 3:{space 3}log pseudolikelihood = {res: -644.6834}  
Iteration 4:{space 3}log pseudolikelihood = {res:-644.67611}  
Iteration 5:{space 3}log pseudolikelihood = {res:-644.67611}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}     9,473
{txt}{col 49}Wald chi2({res}10{txt}){col 67}= {res}    120.56
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-644.67611{txt}{col 49}Pseudo R2{col 67}= {res}    0.0947

{txt}{ralign 78:(Std. Err. adjusted for {res:302} clusters in cdyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      crisis{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}jtdem6 {c |}{col 14}{res}{space 2}-.3131263{col 26}{space 2}  .506342{col 37}{space 1}   -0.62{col 46}{space 3}0.536{col 54}{space 4}-1.305538{col 67}{space 3} .6792858
{txt}{space 5}settlem {c |}{col 14}{res}{space 2}-.9873089{col 26}{space 2} .2195848{col 37}{space 1}   -4.50{col 46}{space 3}0.000{col 54}{space 4}-1.417687{col 67}{space 3}-.5569306
{txt}{space 1}interaction {c |}{col 14}{res}{space 2}-.8521434{col 26}{space 2} .8729142{col 37}{space 1}   -0.98{col 46}{space 3}0.329{col 54}{space 4}-2.563024{col 67}{space 3}  .858737
{txt}{space 2}majinvolve {c |}{col 14}{res}{space 2}-.0571678{col 26}{space 2} .3771139{col 37}{space 1}   -0.15{col 46}{space 3}0.880{col 54}{space 4}-.7962974{col 67}{space 3} .6819618
{txt}{space 4}atopally {c |}{col 14}{res}{space 2}-.1134999{col 26}{space 2} .1971401{col 37}{space 1}   -0.58{col 46}{space 3}0.565{col 54}{space 4}-.4998874{col 67}{space 3} .2728876
{txt}{space 1}lncincratio {c |}{col 14}{res}{space 2} .2001788{col 26}{space 2} .0714442{col 37}{space 1}    2.80{col 46}{space 3}0.005{col 54}{space 4} .0601507{col 67}{space 3} .3402069
{txt}{space 1}crisispeace {c |}{col 14}{res}{space 2}-.2628094{col 26}{space 2} .0640453{col 37}{space 1}   -4.10{col 46}{space 3}0.000{col 54}{space 4}-.3883358{col 67}{space 3} -.137283
{txt}_crisspline1 {c |}{col 14}{res}{space 2}-.0018416{col 26}{space 2} .0006886{col 37}{space 1}   -2.67{col 46}{space 3}0.007{col 54}{space 4}-.0031912{col 67}{space 3} -.000492
{txt}_crisspline2 {c |}{col 14}{res}{space 2} .0009823{col 26}{space 2} .0004686{col 37}{space 1}    2.10{col 46}{space 3}0.036{col 54}{space 4} .0000639{col 67}{space 3} .0019007
{txt}_crisspline3 {c |}{col 14}{res}{space 2}-.0001226{col 26}{space 2} .0001305{col 37}{space 1}   -0.94{col 46}{space 3}0.347{col 54}{space 4}-.0003784{col 67}{space 3} .0001332
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} -1.68649{col 26}{space 2} .2800425{col 37}{space 1}   -6.02{col 46}{space 3}0.000{col 54}{space 4}-2.235363{col 67}{space 3}-1.137617
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(settlem=0 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0234{col 32}{txt}[{res} 0.0164{txt},{res}{col 44} 0.0303{txt}]
  Pr(y=0|x):{res}{col 22} 0.9766{col 32}{txt}[{res} 0.9697{txt},{res}{col 44} 0.9836{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           0             0             0     .15644463     .55663465    -1.6932516     26.323657

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -14735.357    -25815.443    -28579.739
{txt}
{com}. prvalue, x(settlem=1 jtdem=0 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0088{col 32}{txt}[{res} 0.0067{txt},{res}{col 44} 0.0110{txt}]
  Pr(y=0|x):{res}{col 22} 0.9912{col 32}{txt}[{res} 0.9890{txt},{res}{col 44} 0.9933{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           0             1             0     .15644463     .55663465    -1.6932516     26.323657

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -14735.357    -25815.443    -28579.739
{txt}
{com}. prvalue, x(settlem=0 jtdem=1 interaction=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0172{col 32}{txt}[{res} 0.0030{txt},{res}{col 44} 0.0314{txt}]
  Pr(y=0|x):{res}{col 22} 0.9828{col 32}{txt}[{res} 0.9686{txt},{res}{col 44} 0.9970{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           1             0             0     .15644463     .55663465    -1.6932516     26.323657

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -14735.357    -25815.443    -28579.739
{txt}
{com}. prvalue, x(settlem=1 jtdem=1 interaction=1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0028{col 32}{txt}[{res}-0.0006{txt},{res}{col 44} 0.0061{txt}]
  Pr(y=0|x):{res}{col 22} 0.9972{col 32}{txt}[{res} 0.9939{txt},{res}{col 44} 1.0006{txt}]

          jtdem6       settlem   interaction    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           1             1             1     .15644463     .55663465    -1.6932516     26.323657

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -14735.357    -25815.443    -28579.739
{txt}
{com}. 
. 
. *Table 3
. *MIDS
. use "MIDs.dta", clear
{txt}
{com}. *MID Max Duration
. ttest MaxDur if jtdem6==0, by(settlem)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    380{col 22} 202.7605{col 34} 17.02969{col 46} 331.9699{col 58}  169.276{col 70}  236.245
       {txt}1 {c |}{res}{col 12}    538{col 22} 129.2881{col 34} 13.35026{col 46}  309.657{col 58}  103.063{col 70} 155.5132
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    918{col 22} 159.7015{col 34} 10.59304{col 46} 320.9533{col 58} 138.9121{col 70} 180.4909
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 73.47242{col 34} 21.38138{col 58} 31.51024{col 70} 115.4346
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  3.4363
{txt}Ho: diff = 0                                     degrees of freedom = {res}     916

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9997         {txt}Pr(|T| > |t|) = {res}0.0006          {txt}Pr(T > t) = {res}0.0003
{txt}
{com}. ttest MaxDur if settlem==0, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    380{col 22} 202.7605{col 34} 17.02969{col 46} 331.9699{col 58}  169.276{col 70}  236.245
       {txt}1 {c |}{res}{col 12}     18{col 22} 192.6667{col 34} 126.2352{col 46} 535.5707{col 58}-73.66639{col 70} 458.9997
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    398{col 22}  202.304{col 34} 17.18174{col 46} 342.7746{col 58} 168.5255{col 70} 236.0826
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 10.09386{col 34} 82.78689{col 58}-152.6629{col 70} 172.8506
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1219
{txt}Ho: diff = 0                                     degrees of freedom = {res}     396

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5485         {txt}Pr(|T| > |t|) = {res}0.9030          {txt}Pr(T > t) = {res}0.4515
{txt}
{com}. ttest MaxDur if settlem==1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    538{col 22} 129.2881{col 34} 13.35026{col 46}  309.657{col 58}  103.063{col 70} 155.5132
       {txt}1 {c |}{res}{col 12}     47{col 22}       58{col 34} 14.90056{col 46} 102.1531{col 58} 28.00672{col 70} 87.99328
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    585{col 22} 123.5607{col 34} 12.35989{col 46} 298.9458{col 58} 99.28544{col 70} 147.8359
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  71.2881{col 34} 45.41367{col 58}-17.90623{col 70} 160.4824
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.5697
{txt}Ho: diff = 0                                     degrees of freedom = {res}     583

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9415         {txt}Pr(|T| > |t|) = {res}0.1170          {txt}Pr(T > t) = {res}0.0585
{txt}
{com}. 
. *The severity of the disputes (using DG index) 
. ttest severity if jtdem6==0, by(settlem)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    379{col 22} 68.63588{col 34} 3.057683{col 46} 59.52674{col 58} 62.62368{col 70} 74.64808
       {txt}1 {c |}{res}{col 12}    534{col 22} 51.48689{col 34} 2.322438{col 46} 53.66793{col 58} 46.92464{col 70} 56.04915
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    913{col 22}  58.6057{col 34} 1.878991{col 46} 56.77537{col 58} 54.91805{col 70} 62.29334
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 17.14899{col 34} 3.772888{col 58} 9.744431{col 70} 24.55355
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  4.5453
{txt}Ho: diff = 0                                     degrees of freedom = {res}     911

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
{txt}
{com}. ttest severity if settlem==0, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    379{col 22} 68.63588{col 34} 3.057683{col 46} 59.52674{col 58} 62.62368{col 70} 74.64808
       {txt}1 {c |}{res}{col 12}     18{col 22} 74.72222{col 34} 14.97837{col 46} 63.54786{col 58} 43.12062{col 70} 106.3238
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    397{col 22} 68.91184{col 34} 2.993418{col 46} 59.64343{col 58} 63.02686{col 70} 74.79682
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-6.086338{col 34}   14.403{col 58}-34.40246{col 70} 22.22978
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4226
{txt}Ho: diff = 0                                     degrees of freedom = {res}     395

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3364         {txt}Pr(|T| > |t|) = {res}0.6728          {txt}Pr(T > t) = {res}0.6636
{txt}
{com}. ttest severity if settlem==1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    534{col 22} 51.48689{col 34} 2.322438{col 46} 53.66793{col 58} 46.92464{col 70} 56.04915
       {txt}1 {c |}{res}{col 12}     47{col 22} 35.06383{col 34}  6.39795{col 46} 43.86214{col 58} 22.18542{col 70} 47.94224
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    581{col 22} 50.15835{col 34} 2.202924{col 46} 53.09915{col 58} 45.83167{col 70} 54.48503
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 16.42306{col 34} 8.057089{col 58} .5983788{col 70} 32.24774
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.0383
{txt}Ho: diff = 0                                     degrees of freedom = {res}     579

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9790         {txt}Pr(|T| > |t|) = {res}0.0420          {txt}Pr(T > t) = {res}0.0210
{txt}
{com}. 
. *After border settlement, the highest action used by either disputants (max) falls.
. ttest maxhiact if jtdem6==0 & cwmid==1, by(settlem)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    380{col 22} 14.52105{col 34}  .214021{col 46} 4.172036{col 58} 14.10024{col 70} 14.94187
       {txt}1 {c |}{res}{col 12}    538{col 22} 13.82528{col 34} .1882069{col 46} 4.365425{col 58} 13.45557{col 70} 14.19499
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    918{col 22} 14.11329{col 34} .1418495{col 46}  4.29783{col 58}  13.8349{col 70} 14.39168
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .6957738{col 34} .2872354{col 58} .1320579{col 70}  1.25949
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.4223
{txt}Ho: diff = 0                                     degrees of freedom = {res}     916

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9922         {txt}Pr(|T| > |t|) = {res}0.0156          {txt}Pr(T > t) = {res}0.0078
{txt}
{com}. ttest maxhiact if settlem==0 & cwmid==1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    380{col 22} 14.52105{col 34}  .214021{col 46} 4.172036{col 58} 14.10024{col 70} 14.94187
       {txt}1 {c |}{res}{col 12}     18{col 22} 14.83333{col 34} .8902155{col 46} 3.776865{col 58} 12.95514{col 70} 16.71152
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    398{col 22} 14.53518{col 34} .2080766{col 46} 4.151115{col 58} 14.12611{col 70} 14.94425
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3122807{col 34} 1.002473{col 58}-2.283115{col 70} 1.658554
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3115
{txt}Ho: diff = 0                                     degrees of freedom = {res}     396

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3778         {txt}Pr(|T| > |t|) = {res}0.7556          {txt}Pr(T > t) = {res}0.6222
{txt}
{com}. ttest maxhiact if settlem==1 & cwmid==1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    538{col 22} 13.82528{col 34} .1882069{col 46} 4.365425{col 58} 13.45557{col 70} 14.19499
       {txt}1 {c |}{res}{col 12}     47{col 22} 13.21277{col 34}  .582616{col 46} 3.994214{col 58} 12.04002{col 70} 14.38551
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    585{col 22} 13.77607{col 34} .1793037{col 46} 4.336778{col 58} 13.42391{col 70} 14.12823
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .6125129{col 34} .6597151{col 58}-.6831948{col 70} 1.908221
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.9285
{txt}Ho: diff = 0                                     degrees of freedom = {res}     583

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8232         {txt}Pr(|T| > |t|) = {res}0.3536          {txt}Pr(T > t) = {res}0.1768
{txt}
{com}. 
. *Crises
. use "Crises.dta", clear
{txt}
{com}. *Crises (brexit=duration in days)
. ttest brexit if jtdem6==0, by(settlem)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} 266.2436{col 34} 28.00853{col 46} 247.3646{col 58} 210.4715{col 70} 322.0157
       {txt}1 {c |}{res}{col 12}    167{col 22} 170.1317{col 34} 17.67619{col 46} 228.4267{col 58} 135.2326{col 70} 205.0309
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    245{col 22} 200.7306{col 34} 15.22903{col 46}  238.372{col 58} 170.7335{col 70} 230.7278
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 96.11185{col 34} 32.17309{col 58} 32.73812{col 70} 159.4856
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.9873
{txt}Ho: diff = 0                                     degrees of freedom = {res}     243

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9984         {txt}Pr(|T| > |t|) = {res}0.0031          {txt}Pr(T > t) = {res}0.0016
{txt}
{com}. ttest brexit if settlem==0, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} 266.2436{col 34} 28.00853{col 46} 247.3646{col 58} 210.4715{col 70} 322.0157
       {txt}1 {c |}{res}{col 12}      5{col 22}    347.6{col 34} 87.33419{col 46} 195.2852{col 58} 105.1214{col 70} 590.0786
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     83{col 22} 271.1446{col 34} 26.81884{col 46} 244.3313{col 58} 217.7934{col 70} 324.4958
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-81.35641{col 34} 113.0489{col 58}-306.2882{col 70} 143.5754
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7197
{txt}Ho: diff = 0                                     degrees of freedom = {res}      81

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2369         {txt}Pr(|T| > |t|) = {res}0.4738          {txt}Pr(T > t) = {res}0.7631
{txt}
{com}. ttest brexit if settlem==1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    167{col 22} 170.1317{col 34} 17.67619{col 46} 228.4267{col 58} 135.2326{col 70} 205.0309
       {txt}1 {c |}{res}{col 12}     10{col 22}    181.3{col 34} 58.00691{col 46} 183.4339{col 58} 50.07926{col 70} 312.5207
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    177{col 22} 170.7627{col 34}  16.9648{col 46}  225.702{col 58} 137.2821{col 70} 204.2433
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-11.16826{col 34} 73.68389{col 58}-156.5917{col 70} 134.2552
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1516
{txt}Ho: diff = 0                                     degrees of freedom = {res}     175

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4399         {txt}Pr(|T| > |t|) = {res}0.8797          {txt}Pr(T > t) = {res}0.5601
{txt}
{com}. 
. *The severity of violence used within crises
. ttest sevviosy if jtdem6==0, by(settlem)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} 2.615385{col 34} .1427931{col 46} 1.261114{col 58} 2.331047{col 70} 2.899722
       {txt}1 {c |}{res}{col 12}    167{col 22} 2.071856{col 34} .0940357{col 46} 1.215209{col 58} 1.886196{col 70} 2.257516
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    245{col 22} 2.244898{col 34} .0800746{col 46} 1.253366{col 58} 2.087172{col 70} 2.402624
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .5435283{col 34} .1686793{col 58} .2112682{col 70} .8757884
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  3.2223
{txt}Ho: diff = 0                                     degrees of freedom = {res}     243

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9993         {txt}Pr(|T| > |t|) = {res}0.0014          {txt}Pr(T > t) = {res}0.0007
{txt}
{com}. ttest sevviosy if settlem==0, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} 2.615385{col 34} .1427931{col 46} 1.261114{col 58} 2.331047{col 70} 2.899722
       {txt}1 {c |}{res}{col 12}      5{col 22}      3.4{col 34}  .244949{col 46} .5477226{col 58} 2.719913{col 70} 4.080087
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     83{col 22} 2.662651{col 34} .1363617{col 46} 1.242314{col 58} 2.391384{col 70} 2.933917
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.7846154{col 34} .5700088{col 58}-1.918754{col 70} .3495233
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.3765
{txt}Ho: diff = 0                                     degrees of freedom = {res}      81

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0862         {txt}Pr(|T| > |t|) = {res}0.1725          {txt}Pr(T > t) = {res}0.9138
{txt}
{com}. ttest sevviosy if settlem==1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    167{col 22} 2.071856{col 34} .0940357{col 46} 1.215209{col 58} 1.886196{col 70} 2.257516
       {txt}1 {c |}{res}{col 12}     10{col 22}      1.4{col 34}  .305505{col 46} .9660918{col 58} .7088996{col 70}   2.0911
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    177{col 22} 2.033898{col 34} .0909695{col 46}  1.21027{col 58} 1.854367{col 70}  2.21343
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .6718563{col 34} .3918598{col 58} -.101523{col 70} 1.445236
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.7145
{txt}Ho: diff = 0                                     degrees of freedom = {res}     175

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9559         {txt}Pr(|T| > |t|) = {res}0.0882          {txt}Pr(T > t) = {res}0.0441
{txt}
{com}. 
. *Crises are handled (negotiation, etc.) 
. ttest crismg if jtdem6==0, by(settlem)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} 6.230769{col 34}  .254119{col 46} 2.244318{col 58} 5.724754{col 70} 6.736785
       {txt}1 {c |}{res}{col 12}    167{col 22} 5.682635{col 34} .1781859{col 46}  2.30267{col 58} 5.330832{col 70} 6.034437
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    245{col 22} 5.857143{col 34} .1465563{col 46} 2.293969{col 58} 5.568466{col 70}  6.14582
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .5481345{col 34} .3132841{col 58}-.0689646{col 70} 1.165234
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.7496
{txt}Ho: diff = 0                                     degrees of freedom = {res}     243

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9593         {txt}Pr(|T| > |t|) = {res}0.0814          {txt}Pr(T > t) = {res}0.0407
{txt}
{com}. ttest crismg if settlem==0, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} 6.230769{col 34}  .254119{col 46} 2.244318{col 58} 5.724754{col 70} 6.736785
       {txt}1 {c |}{res}{col 12}      5{col 22}      7.4{col 34}  .244949{col 46} .5477226{col 58} 6.719913{col 70} 8.080087
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     83{col 22} 6.301205{col 34}  .241052{col 46} 2.196088{col 58} 5.821676{col 70} 6.780734
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.169231{col 34} 1.011032{col 58}-3.180867{col 70} .8424053
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.1565
{txt}Ho: diff = 0                                     degrees of freedom = {res}      81

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1254         {txt}Pr(|T| > |t|) = {res}0.2509          {txt}Pr(T > t) = {res}0.8746
{txt}
{com}. ttest crismg if settlem==1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    167{col 22} 5.682635{col 34} .1781859{col 46}  2.30267{col 58} 5.330832{col 70} 6.034437
       {txt}1 {c |}{res}{col 12}     10{col 22}      3.4{col 34} .7916228{col 46} 2.503331{col 58} 1.609225{col 70} 5.190775
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    177{col 22} 5.553672{col 34} .1778846{col 46}   2.3666{col 58} 5.202611{col 70} 5.904734
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 2.282635{col 34} .7531504{col 58} .7962077{col 70} 3.769062
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  3.0308
{txt}Ho: diff = 0                                     degrees of freedom = {res}     175

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9986         {txt}Pr(|T| > |t|) = {res}0.0028          {txt}Pr(T > t) = {res}0.0014
{txt}
{com}. 
. *After border settlement, crises less likely to have mediation.
. ttest mediaterev if jtdem6==0, by(settlem)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} 2.833333{col 34} .1626216{col 46} 1.436235{col 58} 2.509512{col 70} 3.157154
       {txt}1 {c |}{res}{col 12}    166{col 22} 1.987952{col 34} .1067246{col 46}  1.37505{col 58}  1.77723{col 70} 2.198674
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    244{col 22} 2.258197{col 34}  .092629{col 46} 1.446912{col 58} 2.075738{col 70} 2.440655
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .8453815{col 34} .1914734{col 58} .4682144{col 70} 1.222549
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  4.4151
{txt}Ho: diff = 0                                     degrees of freedom = {res}     242

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
{txt}
{com}. ttest mediaterev if settlem==0, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} 2.833333{col 34} .1626216{col 46} 1.436235{col 58} 2.509512{col 70} 3.157154
       {txt}1 {c |}{res}{col 12}      5{col 22}      2.8{col 34} .7348469{col 46} 1.643168{col 58} .7597379{col 70} 4.840262
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     83{col 22} 2.831325{col 34} .1578761{col 46} 1.438319{col 58}  2.51726{col 70} 3.145391
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0333333{col 34} .6676054{col 58}-1.294992{col 70} 1.361659
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0499
{txt}Ho: diff = 0                                     degrees of freedom = {res}      81

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5198         {txt}Pr(|T| > |t|) = {res}0.9603          {txt}Pr(T > t) = {res}0.4802
{txt}
{com}. ttest mediaterev if settlem==1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    166{col 22} 1.987952{col 34} .1067246{col 46}  1.37505{col 58}  1.77723{col 70} 2.198674
       {txt}1 {c |}{res}{col 12}     10{col 22}        3{col 34}  .421637{col 46} 1.333333{col 58} 2.046191{col 70} 3.953809
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    176{col 22} 2.045455{col 34} .1047006{col 46} 1.389011{col 58} 1.838816{col 70} 2.252093
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.012048{col 34} .4470423{col 58}-1.894372{col 70}-.1297246
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.2639
{txt}Ho: diff = 0                                     degrees of freedom = {res}     174

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0124         {txt}Pr(|T| > |t|) = {res}0.0248          {txt}Pr(T > t) = {res}0.9876
{txt}
{com}. 
. 
. *Table 4 & A5
. use "MID Onset.dta", clear
{txt}
{com}. tab icowclaim jtdem6, chi2 gamma

           {txt}{c |}        jtdem6
 icowclaim {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}   602,241     62,289 {txt}{c |}{res}   664,530 
{txt}         1 {c |}{res}     8,825      1,036 {txt}{c |}{res}     9,861 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}   611,066     63,325 {txt}{c |}{res}   674,391 

{txt}          Pearson chi2({res}1{txt}) = {res} 14.6511  {txt} Pr = {res}0.000
{txt}                    gamma = {res}  0.0632  {txt}ASE = {res}0.016
{txt}
{com}. tab icowclaim jtdem6 if conttype==1, chi2 gamma

           {txt}{c |}        jtdem6
 icowclaim {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}    12,057      1,836 {txt}{c |}{res}    13,893 
{txt}         1 {c |}{res}     4,821        450 {txt}{c |}{res}     5,271 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}    16,878      2,286 {txt}{c |}{res}    19,164 

{txt}          Pearson chi2({res}1{txt}) = {res} 79.5976  {txt} Pr = {res}0.000
{txt}                    gamma = {res} -0.2399  {txt}ASE = {res}0.026
{txt}
{com}. tab icowclaim jtdem6 if conttype!=1, chi2 gamma

           {txt}{c |}        jtdem6
 icowclaim {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}   590,184     60,453 {txt}{c |}{res}   650,637 
{txt}         1 {c |}{res}     4,004        586 {txt}{c |}{res}     4,590 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}   594,188     61,039 {txt}{c |}{res}   655,227 

{txt}          Pearson chi2({res}1{txt}) = {res} 65.1709  {txt} Pr = {res}0.000
{txt}                    gamma = {res}  0.1765  {txt}ASE = {res}0.022
{txt}
{com}. tab maxresource jtdem6 if icowclaim==1, chi2 gamma

{txt}maxresourc {c |}        jtdem6
         e {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}     4,099        379 {txt}{c |}{res}     4,478 
{txt}         1 {c |}{res}     4,726        657 {txt}{c |}{res}     5,383 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}     8,825      1,036 {txt}{c |}{res}     9,861 

{txt}          Pearson chi2({res}1{txt}) = {res} 36.3952  {txt} Pr = {res}0.000
{txt}                    gamma = {res}  0.2011  {txt}ASE = {res}0.033
{txt}
{com}. tab maxstratloc jtdem6 if icowclaim==1, chi2 gamma

{txt}maxstratlo {c |}        jtdem6
         c {c |}         0          1 {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
         0 {c |}{res}     3,589        511 {txt}{c |}{res}     4,100 
{txt}         1 {c |}{res}     5,236        525 {txt}{c |}{res}     5,761 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}     8,825      1,036 {txt}{c |}{res}     9,861 

{txt}          Pearson chi2({res}1{txt}) = {res} 28.5973  {txt} Pr = {res}0.000
{txt}                    gamma = {res} -0.1736  {txt}ASE = {res}0.032
{txt}
{com}. 
. 
. *Table 5 & A4
. *Model 1. Base model
. logit midonset jtdem6 majinvolve atopally lncincratio peaceyears _midspline1 _midspline2 _midspline3 if conttype!=1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-8684.4191}  
Iteration 1:{space 3}log pseudolikelihood = {res:-7963.3771}  
Iteration 2:{space 3}log pseudolikelihood = {res:-6988.1374}  
Iteration 3:{space 3}log pseudolikelihood = {res:-6960.8709}  
Iteration 4:{space 3}log pseudolikelihood = {res:-6960.2479}  
Iteration 5:{space 3}log pseudolikelihood = {res:-6960.2477}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}   654,124
{txt}{col 49}Wald chi2({res}8{txt}){col 67}= {res}   1156.37
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-6960.2477{txt}{col 49}Pseudo R2{col 67}= {res}    0.1985

{txt}{ralign 78:(Std. Err. adjusted for {res:19,506} clusters in cdyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    midonset{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}jtdem6 {c |}{col 14}{res}{space 2}-1.034691{col 26}{space 2} .1505723{col 37}{space 1}   -6.87{col 46}{space 3}0.000{col 54}{space 4}-1.329807{col 67}{space 3}-.7395749
{txt}{space 2}majinvolve {c |}{col 14}{res}{space 2} 3.459269{col 26}{space 2} .1289325{col 37}{space 1}   26.83{col 46}{space 3}0.000{col 54}{space 4} 3.206566{col 67}{space 3} 3.711972
{txt}{space 4}atopally {c |}{col 14}{res}{space 2} .5475475{col 26}{space 2} .1234543{col 37}{space 1}    4.44{col 46}{space 3}0.000{col 54}{space 4} .3055816{col 67}{space 3} .7895135
{txt}{space 1}lncincratio {c |}{col 14}{res}{space 2} .3039243{col 26}{space 2} .0307443{col 37}{space 1}    9.89{col 46}{space 3}0.000{col 54}{space 4} .2436666{col 67}{space 3}  .364182
{txt}{space 2}peaceyears {c |}{col 14}{res}{space 2}-.2824414{col 26}{space 2} .0227949{col 37}{space 1}  -12.39{col 46}{space 3}0.000{col 54}{space 4}-.3271186{col 67}{space 3}-.2377642
{txt}{space 1}_midspline1 {c |}{col 14}{res}{space 2}-.0012089{col 26}{space 2} .0001573{col 37}{space 1}   -7.68{col 46}{space 3}0.000{col 54}{space 4}-.0015173{col 67}{space 3}-.0009006
{txt}{space 1}_midspline2 {c |}{col 14}{res}{space 2} .0005582{col 26}{space 2}  .000092{col 37}{space 1}    6.07{col 46}{space 3}0.000{col 54}{space 4}  .000378{col 67}{space 3} .0007385
{txt}{space 1}_midspline3 {c |}{col 14}{res}{space 2}-.0000277{col 26}{space 2} .0000156{col 37}{space 1}   -1.78{col 46}{space 3}0.075{col 54}{space 4}-.0000582{col 67}{space 3} 2.76e-06
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-5.012397{col 26}{space 2} .1558604{col 37}{space 1}  -32.16{col 46}{space 3}0.000{col 54}{space 4}-5.317878{col 67}{space 3}-4.706917
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(jtdem=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0007{col 32}{txt}[{res} 0.0006{txt},{res}{col 44} 0.0007{txt}]
  Pr(y=0|x):{res}{col 22} 0.9993{col 32}{txt}[{res} 0.9993{txt},{res}{col 44} 0.9994{txt}]

         jtdem6   majinvolve     atopally  lncincratio   peaceyears  _midspline1  _midspline2
x=  {res}          0    .10083715    .08079049   -2.4486527    27.625323   -27334.363   -52271.351

    {txt}_midspline3
x=  {res}  -71234.53
{txt}
{com}. prvalue, x(jtdem=1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0002{col 32}{txt}[{res} 0.0002{txt},{res}{col 44} 0.0003{txt}]
  Pr(y=0|x):{res}{col 22} 0.9998{col 32}{txt}[{res} 0.9997{txt},{res}{col 44} 0.9998{txt}]

         jtdem6   majinvolve     atopally  lncincratio   peaceyears  _midspline1  _midspline2
x=  {res}          1    .10083715    .08079049   -2.4486527    27.625323   -27334.363   -52271.351

    {txt}_midspline3
x=  {res}  -71234.53
{txt}
{com}. 
. *Model 2. Main model, 1816-2001 (MODEL 2 in appendix)
. logit midonset jtdem6 bothallsettle bothallsettleinteract majinvolve atopally lncincratio peaceyears _midspline1 _midspline2 _midspline3 if conttype!=1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-6357.6297}  
Iteration 1:{space 3}log pseudolikelihood = {res: -6096.564}  
Iteration 2:{space 3}log pseudolikelihood = {res: -5329.129}  
Iteration 3:{space 3}log pseudolikelihood = {res:-5310.0949}  
Iteration 4:{space 3}log pseudolikelihood = {res:-5309.6088}  
Iteration 5:{space 3}log pseudolikelihood = {res:-5309.6085}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}   514,197
{txt}{col 49}Wald chi2({res}10{txt}){col 67}= {res}   1233.26
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-5309.6085{txt}{col 49}Pseudo R2{col 67}= {res}    0.1648

{txt}{ralign 87:(Std. Err. adjusted for {res:13,277} clusters in cdyad)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}             midonset{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}jtdem6 {c |}{col 23}{res}{space 2}-.6909813{col 35}{space 2} .2421717{col 46}{space 1}   -2.85{col 55}{space 3}0.004{col 63}{space 4}-1.165629{col 76}{space 3}-.2163334
{txt}{space 8}bothallsettle {c |}{col 23}{res}{space 2}-.1855787{col 35}{space 2} .1166989{col 46}{space 1}   -1.59{col 55}{space 3}0.112{col 63}{space 4}-.4143044{col 76}{space 3} .0431469
{txt}bothallsettleinteract {c |}{col 23}{res}{space 2}-.4627001{col 35}{space 2} .3956089{col 46}{space 1}   -1.17{col 55}{space 3}0.242{col 63}{space 4}-1.238079{col 76}{space 3} .3126792
{txt}{space 11}majinvolve {c |}{col 23}{res}{space 2}  3.10294{col 35}{space 2} .1294605{col 46}{space 1}   23.97{col 55}{space 3}0.000{col 63}{space 4} 2.849202{col 76}{space 3} 3.356678
{txt}{space 13}atopally {c |}{col 23}{res}{space 2} .6530822{col 35}{space 2} .1399672{col 46}{space 1}    4.67{col 55}{space 3}0.000{col 63}{space 4} .3787515{col 76}{space 3} .9274129
{txt}{space 10}lncincratio {c |}{col 23}{res}{space 2}  .222525{col 35}{space 2} .0334435{col 46}{space 1}    6.65{col 55}{space 3}0.000{col 63}{space 4} .1569769{col 76}{space 3}  .288073
{txt}{space 11}peaceyears {c |}{col 23}{res}{space 2}-.2587229{col 35}{space 2} .0243726{col 46}{space 1}  -10.62{col 55}{space 3}0.000{col 63}{space 4}-.3064922{col 76}{space 3}-.2109535
{txt}{space 10}_midspline1 {c |}{col 23}{res}{space 2} -.001015{col 35}{space 2}  .000172{col 46}{space 1}   -5.90{col 55}{space 3}0.000{col 63}{space 4}-.0013521{col 76}{space 3} -.000678
{txt}{space 10}_midspline2 {c |}{col 23}{res}{space 2} .0004393{col 35}{space 2} .0001013{col 46}{space 1}    4.34{col 55}{space 3}0.000{col 63}{space 4} .0002407{col 76}{space 3} .0006378
{txt}{space 10}_midspline3 {c |}{col 23}{res}{space 2}-6.96e-06{col 35}{space 2} .0000175{col 46}{space 1}   -0.40{col 55}{space 3}0.690{col 63}{space 4}-.0000412{col 76}{space 3} .0000273
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-5.002301{col 35}{space 2} .1589375{col 46}{space 1}  -31.47{col 55}{space 3}0.000{col 63}{space 4}-5.313813{col 76}{space 3}-4.690789
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(bothallsettle =0 jtdem=0 bothallsettleinteract=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0008{col 32}{txt}[{res} 0.0007{txt},{res}{col 44} 0.0009{txt}]
  Pr(y=0|x):{res}{col 22} 0.9992{col 32}{txt}[{res} 0.9991{txt},{res}{col 44} 0.9993{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio    peaceyears
x=  {res}           0             0             0     .07939564     .06725827    -2.1780729     29.871716

    {txt} _midspline1   _midspline2   _midspline3
x=  {res}  -30411.736    -58306.708    -79597.338
{txt}
{com}. prvalue, x(bothallsettle =1 jtdem=0 bothallsettleinteract =0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0007{col 32}{txt}[{res} 0.0006{txt},{res}{col 44} 0.0008{txt}]
  Pr(y=0|x):{res}{col 22} 0.9993{col 32}{txt}[{res} 0.9992{txt},{res}{col 44} 0.9994{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio    peaceyears
x=  {res}           0             1             0     .07939564     .06725827    -2.1780729     29.871716

    {txt} _midspline1   _midspline2   _midspline3
x=  {res}  -30411.736    -58306.708    -79597.338
{txt}
{com}. prvalue, x(bothallsettle =0 jtdem=1 bothallsettleinteract =0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0004{col 32}{txt}[{res} 0.0002{txt},{res}{col 44} 0.0006{txt}]
  Pr(y=0|x):{res}{col 22} 0.9996{col 32}{txt}[{res} 0.9994{txt},{res}{col 44} 0.9998{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio    peaceyears
x=  {res}           1             0             0     .07939564     .06725827    -2.1780729     29.871716

    {txt} _midspline1   _midspline2   _midspline3
x=  {res}  -30411.736    -58306.708    -79597.338
{txt}
{com}. prvalue, x(bothallsettle =1 jtdem=1 bothallsettleinteract =1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0002{col 32}{txt}[{res} 0.0001{txt},{res}{col 44} 0.0003{txt}]
  Pr(y=0|x):{res}{col 22} 0.9998{col 32}{txt}[{res} 0.9997{txt},{res}{col 44} 0.9999{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio    peaceyears
x=  {res}           1             1             1     .07939564     .06725827    -2.1780729     29.871716

    {txt} _midspline1   _midspline2   _midspline3
x=  {res}  -30411.736    -58306.708    -79597.338
{txt}
{com}. 
. *Model 3. Non-world war years, 1816-2001
. logit midonset jtdem6 bothallsettle bothallsettleinteract majinvolve atopally lncincratio peaceyears _midspline1 _midspline2 _midspline3 if worldwaryr==0 & conttype!=1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:  -5645.11}  
Iteration 1:{space 3}log pseudolikelihood = {res:-5294.5342}  
Iteration 2:{space 3}log pseudolikelihood = {res:-4784.5439}  
Iteration 3:{space 3}log pseudolikelihood = {res:-4768.1314}  
Iteration 4:{space 3}log pseudolikelihood = {res:-4767.7605}  
Iteration 5:{space 3}log pseudolikelihood = {res:-4767.7603}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}   503,973
{txt}{col 49}Wald chi2({res}10{txt}){col 67}= {res}   1004.44
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-4767.7603{txt}{col 49}Pseudo R2{col 67}= {res}    0.1554

{txt}{ralign 87:(Std. Err. adjusted for {res:13,264} clusters in cdyad)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}             midonset{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}jtdem6 {c |}{col 23}{res}{space 2}-.6106975{col 35}{space 2} .2463155{col 46}{space 1}   -2.48{col 55}{space 3}0.013{col 63}{space 4}-1.093467{col 76}{space 3} -.127928
{txt}{space 8}bothallsettle {c |}{col 23}{res}{space 2}-.3172863{col 35}{space 2} .1272102{col 46}{space 1}   -2.49{col 55}{space 3}0.013{col 63}{space 4}-.5666138{col 76}{space 3}-.0679589
{txt}bothallsettleinteract {c |}{col 23}{res}{space 2}-.3753513{col 35}{space 2}  .411133{col 46}{space 1}   -0.91{col 55}{space 3}0.361{col 63}{space 4}-1.181157{col 76}{space 3} .4304545
{txt}{space 11}majinvolve {c |}{col 23}{res}{space 2} 3.001341{col 35}{space 2}  .142008{col 46}{space 1}   21.14{col 55}{space 3}0.000{col 63}{space 4} 2.723011{col 76}{space 3} 3.279672
{txt}{space 13}atopally {c |}{col 23}{res}{space 2} .7434211{col 35}{space 2} .1515778{col 46}{space 1}    4.90{col 55}{space 3}0.000{col 63}{space 4} .4463341{col 76}{space 3} 1.040508
{txt}{space 10}lncincratio {c |}{col 23}{res}{space 2} .2715457{col 35}{space 2} .0368989{col 46}{space 1}    7.36{col 55}{space 3}0.000{col 63}{space 4} .1992251{col 76}{space 3} .3438662
{txt}{space 11}peaceyears {c |}{col 23}{res}{space 2}-.2618472{col 35}{space 2} .0259283{col 46}{space 1}  -10.10{col 55}{space 3}0.000{col 63}{space 4}-.3126658{col 76}{space 3}-.2110286
{txt}{space 10}_midspline1 {c |}{col 23}{res}{space 2}-.0010575{col 35}{space 2}  .000185{col 46}{space 1}   -5.72{col 55}{space 3}0.000{col 63}{space 4}-.0014202{col 76}{space 3}-.0006949
{txt}{space 10}_midspline2 {c |}{col 23}{res}{space 2} .0004743{col 35}{space 2} .0001096{col 46}{space 1}    4.33{col 55}{space 3}0.000{col 63}{space 4} .0002595{col 76}{space 3}  .000689
{txt}{space 10}_midspline3 {c |}{col 23}{res}{space 2}-.0000169{col 35}{space 2} .0000192{col 46}{space 1}   -0.88{col 55}{space 3}0.378{col 63}{space 4}-.0000544{col 76}{space 3} .0000207
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-4.878142{col 35}{space 2} .1608996{col 46}{space 1}  -30.32{col 55}{space 3}0.000{col 63}{space 4}  -5.1935{col 76}{space 3}-4.562785
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(bothallsettle =0 jtdem=0 bothallsettleinteract=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0008{col 32}{txt}[{res} 0.0007{txt},{res}{col 44} 0.0009{txt}]
  Pr(y=0|x):{res}{col 22} 0.9992{col 32}{txt}[{res} 0.9991{txt},{res}{col 44} 0.9993{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio    peaceyears
x=  {res}           0             0             0     .07738708     .06560471    -2.1764891     29.668855

    {txt} _midspline1   _midspline2   _midspline3
x=  {res}   -30120.53    -57735.736    -78824.215
{txt}
{com}. prvalue, x(bothallsettle =1 jtdem=0 bothallsettleinteract =0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0006{col 32}{txt}[{res} 0.0005{txt},{res}{col 44} 0.0007{txt}]
  Pr(y=0|x):{res}{col 22} 0.9994{col 32}{txt}[{res} 0.9993{txt},{res}{col 44} 0.9995{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio    peaceyears
x=  {res}           0             1             0     .07738708     .06560471    -2.1764891     29.668855

    {txt} _midspline1   _midspline2   _midspline3
x=  {res}   -30120.53    -57735.736    -78824.215
{txt}
{com}. prvalue, x(bothallsettle =0 jtdem=1 bothallsettleinteract =0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0004{col 32}{txt}[{res} 0.0002{txt},{res}{col 44} 0.0006{txt}]
  Pr(y=0|x):{res}{col 22} 0.9996{col 32}{txt}[{res} 0.9994{txt},{res}{col 44} 0.9998{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio    peaceyears
x=  {res}           1             0             0     .07738708     .06560471    -2.1764891     29.668855

    {txt} _midspline1   _midspline2   _midspline3
x=  {res}   -30120.53    -57735.736    -78824.215
{txt}
{com}. prvalue, x(bothallsettle =1 jtdem=1 bothallsettleinteract =1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}midonset

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0002{col 32}{txt}[{res} 0.0001{txt},{res}{col 44} 0.0003{txt}]
  Pr(y=0|x):{res}{col 22} 0.9998{col 32}{txt}[{res} 0.9997{txt},{res}{col 44} 0.9999{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio    peaceyears
x=  {res}           1             1             1     .07738708     .06560471    -2.1764891     29.668855

    {txt} _midspline1   _midspline2   _midspline3
x=  {res}   -30120.53    -57735.736    -78824.215
{txt}
{com}. 
. *Model 4.
. logit crisis jtdem6 majinvolve atopally lncincratio crisispeace _crisspline1 _crisspline2 _crisspline3 if conttype!=1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-1829.8939}  
Iteration 1:{space 3}log pseudolikelihood = {res:-1825.2558}  
Iteration 2:{space 3}log pseudolikelihood = {res:-1525.9523}  
Iteration 3:{space 3}log pseudolikelihood = {res:-1517.9888}  
Iteration 4:{space 3}log pseudolikelihood = {res: -1517.635}  
Iteration 5:{space 3}log pseudolikelihood = {res:-1517.6339}  
Iteration 6:{space 3}log pseudolikelihood = {res:-1517.6339}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}   487,976
{txt}{col 49}Wald chi2({res}8{txt}){col 67}= {res}    511.83
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-1517.6339{txt}{col 49}Pseudo R2{col 67}= {res}    0.1706

{txt}{ralign 78:(Std. Err. adjusted for {res:18,208} clusters in cdyad)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      crisis{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}jtdem6 {c |}{col 14}{res}{space 2}-2.020005{col 26}{space 2}  .432525{col 37}{space 1}   -4.67{col 46}{space 3}0.000{col 54}{space 4}-2.867738{col 67}{space 3}-1.172271
{txt}{space 2}majinvolve {c |}{col 14}{res}{space 2} 3.813215{col 26}{space 2} .2381377{col 37}{space 1}   16.01{col 46}{space 3}0.000{col 54}{space 4} 3.346474{col 67}{space 3} 4.279957
{txt}{space 4}atopally {c |}{col 14}{res}{space 2} .9435324{col 26}{space 2} .2205816{col 37}{space 1}    4.28{col 46}{space 3}0.000{col 54}{space 4} .5112003{col 67}{space 3} 1.375864
{txt}{space 1}lncincratio {c |}{col 14}{res}{space 2} .3926702{col 26}{space 2} .0599483{col 37}{space 1}    6.55{col 46}{space 3}0.000{col 54}{space 4} .2751737{col 67}{space 3} .5101667
{txt}{space 1}crisispeace {c |}{col 14}{res}{space 2} -.289204{col 26}{space 2} .0491934{col 37}{space 1}   -5.88{col 46}{space 3}0.000{col 54}{space 4}-.3856213{col 67}{space 3}-.1927866
{txt}_crisspline1 {c |}{col 14}{res}{space 2}-.0020213{col 26}{space 2} .0005102{col 37}{space 1}   -3.96{col 46}{space 3}0.000{col 54}{space 4}-.0030214{col 67}{space 3}-.0010212
{txt}_crisspline2 {c |}{col 14}{res}{space 2} .0010929{col 26}{space 2} .0003393{col 37}{space 1}    3.22{col 46}{space 3}0.001{col 54}{space 4}  .000428{col 67}{space 3} .0017578
{txt}_crisspline3 {c |}{col 14}{res}{space 2}-.0001544{col 26}{space 2} .0000879{col 37}{space 1}   -1.76{col 46}{space 3}0.079{col 54}{space 4}-.0003268{col 67}{space 3}  .000018
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-6.617338{col 26}{space 2} .2274033{col 37}{space 1}  -29.10{col 46}{space 3}0.000{col 54}{space 4} -7.06304{col 67}{space 3}-6.171635
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(jtdem=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0002{col 32}{txt}[{res} 0.0001{txt},{res}{col 44} 0.0002{txt}]
  Pr(y=0|x):{res}{col 22} 0.9998{col 32}{txt}[{res} 0.9998{txt},{res}{col 44} 0.9999{txt}]

          jtdem6    majinvolve      atopally   lncincratio   crisispeace  _crisspline1  _crisspline2
x=  {res}           0     .08362092     .08132572    -2.4135254     21.199897    -10154.659    -17207.323

    {txt}_crisspline3
x=  {res}  -18523.649
{txt}
{com}. prvalue, x(jtdem=1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0000{col 32}{txt}[{res} 0.0000{txt},{res}{col 44} 0.0000{txt}]
  Pr(y=0|x):{res}{col 22} 1.0000{col 32}{txt}[{res} 1.0000{txt},{res}{col 44} 1.0000{txt}]

          jtdem6    majinvolve      atopally   lncincratio   crisispeace  _crisspline1  _crisspline2
x=  {res}           1     .08362092     .08132572    -2.4135254     21.199897    -10154.659    -17207.323

    {txt}_crisspline3
x=  {res}  -18523.649
{txt}
{com}. 
. *Model 5
. logit crisis jtdem6 bothallsettle bothallsettleinteract majinvolve atopally lncincratio crisispeace _crisspline1 _crisspline2 _crisspline3 if conttype!=1, cluster(cdyad)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-1348.5358}  
Iteration 1:{space 3}log pseudolikelihood = {res:-1212.3662}  
Iteration 2:{space 3}log pseudolikelihood = {res:-1166.2461}  
Iteration 3:{space 3}log pseudolikelihood = {res:-1158.9156}  
Iteration 4:{space 3}log pseudolikelihood = {res:-1158.7048}  
Iteration 5:{space 3}log pseudolikelihood = {res:-1158.7018}  
Iteration 6:{space 3}log pseudolikelihood = {res:-1158.7018}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}   398,721
{txt}{col 49}Wald chi2({res}10{txt}){col 67}= {res}    397.76
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-1158.7018{txt}{col 49}Pseudo R2{col 67}= {res}    0.1408

{txt}{ralign 87:(Std. Err. adjusted for {res:12,763} clusters in cdyad)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}               crisis{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 15}jtdem6 {c |}{col 23}{res}{space 2}-1.414427{col 35}{space 2} .5450121{col 46}{space 1}   -2.60{col 55}{space 3}0.009{col 63}{space 4}-2.482631{col 76}{space 3}-.3462229
{txt}{space 8}bothallsettle {c |}{col 23}{res}{space 2}-.9126381{col 35}{space 2} .2433331{col 46}{space 1}   -3.75{col 55}{space 3}0.000{col 63}{space 4}-1.389562{col 76}{space 3} -.435714
{txt}bothallsettleinteract {c |}{col 23}{res}{space 2}-.4913756{col 35}{space 2} 1.156404{col 46}{space 1}   -0.42{col 55}{space 3}0.671{col 63}{space 4}-2.757885{col 76}{space 3} 1.775134
{txt}{space 11}majinvolve {c |}{col 23}{res}{space 2}  3.40223{col 35}{space 2} .2376754{col 46}{space 1}   14.31{col 55}{space 3}0.000{col 63}{space 4} 2.936395{col 76}{space 3} 3.868065
{txt}{space 13}atopally {c |}{col 23}{res}{space 2} 1.165861{col 35}{space 2} .3001036{col 46}{space 1}    3.88{col 55}{space 3}0.000{col 63}{space 4} .5776686{col 76}{space 3} 1.754053
{txt}{space 10}lncincratio {c |}{col 23}{res}{space 2} .3572501{col 35}{space 2} .0620391{col 46}{space 1}    5.76{col 55}{space 3}0.000{col 63}{space 4} .2356557{col 76}{space 3} .4788445
{txt}{space 10}crisispeace {c |}{col 23}{res}{space 2}-.2462276{col 35}{space 2} .0579691{col 46}{space 1}   -4.25{col 55}{space 3}0.000{col 63}{space 4}-.3598449{col 76}{space 3}-.1326102
{txt}{space 9}_crisspline1 {c |}{col 23}{res}{space 2}-.0015987{col 35}{space 2} .0006143{col 46}{space 1}   -2.60{col 55}{space 3}0.009{col 63}{space 4}-.0028027{col 76}{space 3}-.0003948
{txt}{space 9}_crisspline2 {c |}{col 23}{res}{space 2} .0008569{col 35}{space 2} .0004129{col 46}{space 1}    2.08{col 55}{space 3}0.038{col 63}{space 4} .0000477{col 76}{space 3} .0016661
{txt}{space 9}_crisspline3 {c |}{col 23}{res}{space 2}-.0001264{col 35}{space 2} .0001079{col 46}{space 1}   -1.17{col 55}{space 3}0.241{col 63}{space 4} -.000338{col 76}{space 3} .0000851
{txt}{space 16}_cons {c |}{col 23}{res}{space 2}-6.413471{col 35}{space 2} .2573342{col 46}{space 1}  -24.92{col 55}{space 3}0.000{col 63}{space 4}-6.917836{col 76}{space 3}-5.909105
{txt}{hline 22}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. prvalue, x(bothallsettle =0 jtdem=0 bothallsettleinteract=0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0002{col 32}{txt}[{res} 0.0002{txt},{res}{col 44} 0.0003{txt}]
  Pr(y=0|x):{res}{col 22} 0.9998{col 32}{txt}[{res} 0.9997{txt},{res}{col 44} 0.9998{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           0             0             0     .05981877     .07126035    -2.1660882      22.31127

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -10796.896    -18291.438    -19644.414
{txt}
{com}. prvalue, x(bothallsettle =1 jtdem=0 bothallsettleinteract =0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0001{col 32}{txt}[{res} 0.0001{txt},{res}{col 44} 0.0001{txt}]
  Pr(y=0|x):{res}{col 22} 0.9999{col 32}{txt}[{res} 0.9999{txt},{res}{col 44} 0.9999{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           0             1             0     .05981877     .07126035    -2.1660882      22.31127

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -10796.896    -18291.438    -19644.414
{txt}
{com}. prvalue, x(bothallsettle =0 jtdem=1 bothallsettleinteract =0) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0001{col 32}{txt}[{res} 0.0000{txt},{res}{col 44} 0.0001{txt}]
  Pr(y=0|x):{res}{col 22} 0.9999{col 32}{txt}[{res} 0.9999{txt},{res}{col 44} 1.0000{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           1             0             0     .05981877     .07126035    -2.1660882      22.31127

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -10796.896    -18291.438    -19644.414
{txt}
{com}. prvalue, x(bothallsettle =1 jtdem=1 bothallsettleinteract =1) rest(mean) level(90)

{res}logit{txt}: Predictions for {res}crisis

{txt}Confidence intervals by delta method

{col 32} 90% Conf. Interval
  Pr(y=1|x):{res}{col 22} 0.0000{col 32}{txt}[{res}-0.0000{txt},{res}{col 44} 0.0000{txt}]
  Pr(y=0|x):{res}{col 22} 1.0000{col 32}{txt}[{res} 1.0000{txt},{res}{col 44} 1.0000{txt}]

          jtdem6  bothallset~e  bothallset~t    majinvolve      atopally   lncincratio   crisispeace
x=  {res}           1             1             1     .05981877     .07126035    -2.1660882      22.31127

    {txt}_crisspline1  _crisspline2  _crisspline3
x=  {res}  -10796.896    -18291.438    -19644.414
{txt}
{com}. 
. 
. *Table A6
. *MIDs
. use "MIDs.dta", clear
{txt}
{com}. *MID Max Duration
. ttest MaxDur if conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,117{col 22} 145.4136{col 34} 9.254788{col 46} 309.3094{col 58} 127.2549{col 70} 163.5724
       {txt}1 {c |}{res}{col 12}     71{col 22} 67.32394{col 34} 12.30177{col 46} 103.6565{col 58} 42.78884{col 70} 91.85905
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,188{col 22} 140.7466{col 34} 8.748558{col 46} 301.5398{col 58} 123.5823{col 70}  157.911
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 78.08966{col 34} 36.85188{col 58}  5.78753{col 70} 150.3918
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.1190
{txt}Ho: diff = 0                                     degrees of freedom = {res}    1186

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9829         {txt}Pr(|T| > |t|) = {res}0.0343          {txt}Pr(T > t) = {res}0.0171
{txt}
{com}. ttest MaxDur if jtdem6==0 & conttype!=1, by(bothallsettle)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    412{col 22} 162.8641{col 34} 17.45957{col 46} 354.3905{col 58} 128.5429{col 70} 197.1853
       {txt}1 {c |}{res}{col 12}    178{col 22}  174.191{col 34} 28.12392{col 46} 375.2198{col 58} 118.6897{col 70} 229.6924
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    590{col 22} 166.2814{col 34}  14.8423{col 46} 360.5182{col 58} 137.1311{col 70} 195.4316
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-11.32693{col 34} 32.36073{col 58}-74.88363{col 70} 52.22976
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3500
{txt}Ho: diff = 0                                     degrees of freedom = {res}     588

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3632         {txt}Pr(|T| > |t|) = {res}0.7264          {txt}Pr(T > t) = {res}0.6368
{txt}
{com}. ttest MaxDur if bothallsettle==0 & conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    412{col 22} 162.8641{col 34} 17.45957{col 46} 354.3905{col 58} 128.5429{col 70} 197.1853
       {txt}1 {c |}{res}{col 12}     17{col 22} 25.05882{col 34} 10.92032{col 46} 45.02565{col 58} 1.908772{col 70} 48.20887
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    429{col 22} 157.4033{col 34} 16.82242{col 46} 348.4312{col 58} 124.3384{col 70} 190.4681
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 137.8053{col 34} 86.07579{col 58}-31.37973{col 70} 306.9902
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.6010
{txt}Ho: diff = 0                                     degrees of freedom = {res}     427

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9449         {txt}Pr(|T| > |t|) = {res}0.1101          {txt}Pr(T > t) = {res}0.0551
{txt}
{com}. 
. *The severity of the disputes (using DG index) 
. ttest severity if conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,059{col 22}  33.9169{col 34} 1.494994{col 46} 48.65053{col 58} 30.98341{col 70} 36.85039
       {txt}1 {c |}{res}{col 12}     71{col 22} 22.40845{col 34} 4.206758{col 46} 35.44677{col 58} 14.01834{col 70} 30.79856
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,130{col 22} 33.19381{col 34} 1.427832{col 46} 47.99726{col 58}  30.3923{col 70} 35.99531
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 11.50845{col 34} 5.876705{col 58}-.0220501{col 70} 23.03895
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.9583
{txt}Ho: diff = 0                                     degrees of freedom = {res}    1128

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9748         {txt}Pr(|T| > |t|) = {res}0.0504          {txt}Pr(T > t) = {res}0.0252
{txt}
{com}. ttest severity if jtdem6==0 & conttype!=1, by(bothallsettle)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    380{col 22} 37.64737{col 34} 2.681341{col 46} 52.26896{col 58}  32.3752{col 70} 42.91954
       {txt}1 {c |}{res}{col 12}    158{col 22} 33.61392{col 34} 3.857994{col 46} 48.49423{col 58} 25.99366{col 70} 41.23419
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    538{col 22} 36.46283{col 34} 2.206418{col 46} 51.17749{col 58} 32.12856{col 70} 40.79709
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 4.033444{col 34} 4.845895{col 58}-5.485831{col 70} 13.55272
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8323
{txt}Ho: diff = 0                                     degrees of freedom = {res}     536

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7972         {txt}Pr(|T| > |t|) = {res}0.4056          {txt}Pr(T > t) = {res}0.2028
{txt}
{com}. ttest severity if bothallsettle==0 & conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    380{col 22} 37.64737{col 34} 2.681341{col 46} 52.26896{col 58}  32.3752{col 70} 42.91954
       {txt}1 {c |}{res}{col 12}     17{col 22} 15.11765{col 34} 5.832769{col 46} 24.04912{col 58} 2.752729{col 70} 27.48256
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    397{col 22} 36.68262{col 34} 2.587991{col 46} 51.56535{col 58}  31.5947{col 70} 41.77054
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 22.52972{col 34} 12.74899{col 58}-2.534647{col 70} 47.59409
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.7672
{txt}Ho: diff = 0                                     degrees of freedom = {res}     395

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9610         {txt}Pr(|T| > |t|) = {res}0.0780          {txt}Pr(T > t) = {res}0.0390
{txt}
{com}. 
. *After border settlement, the highest action used by either disputants (max) falls.
. ttest maxhiact if conttype!=1 & cwmid==1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,117{col 22} 13.17099{col 34} .1476077{col 46} 4.933277{col 58} 12.88137{col 70} 13.46061
       {txt}1 {c |}{res}{col 12}     71{col 22} 13.42254{col 34} .4936873{col 46} 4.159883{col 58} 12.43791{col 70} 14.40716
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,188{col 22} 13.18603{col 34} .1418539{col 46}  4.88933{col 58} 12.90771{col 70} 13.46434
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.2515415{col 34} .5986218{col 58}-1.426017{col 70} .9229342
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4202
{txt}Ho: diff = 0                                     degrees of freedom = {res}    1186

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3372         {txt}Pr(|T| > |t|) = {res}0.6744          {txt}Pr(T > t) = {res}0.6628
{txt}
{com}. ttest maxhiact if jtdem6==0 & conttype!=1 & cwmid==1, by(bothallsettle)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    412{col 22} 13.64563{col 34} .2360644{col 46} 4.791584{col 58} 13.18159{col 70} 14.10968
       {txt}1 {c |}{res}{col 12}    178{col 22} 13.39888{col 34} .3843689{col 46} 5.128121{col 58} 12.64034{col 70} 14.15741
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    590{col 22} 13.57119{col 34} .2014202{col 46} 4.892479{col 58}  13.1756{col 70} 13.96678
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2467547{col 34} .4390851{col 58}-.6156115{col 70} 1.109121
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5620
{txt}Ho: diff = 0                                     degrees of freedom = {res}     588

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7128         {txt}Pr(|T| > |t|) = {res}0.5743          {txt}Pr(T > t) = {res}0.2872
{txt}
{com}. ttest maxhiact if bothallsettle==0 & conttype!=1 & cwmid==1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    412{col 22} 13.64563{col 34} .2360644{col 46} 4.791584{col 58} 13.18159{col 70} 14.10968
       {txt}1 {c |}{res}{col 12}     17{col 22} 14.23529{col 34} .8113597{col 46} 3.345322{col 58} 12.51529{col 70}  15.9553
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    429{col 22}   13.669{col 34} .2289072{col 46} 4.741199{col 58} 13.21908{col 70} 14.11892
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.589663{col 34}  1.17442{col 58}-2.898027{col 70} 1.718701
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5021
{txt}Ho: diff = 0                                     degrees of freedom = {res}     427

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3079         {txt}Pr(|T| > |t|) = {res}0.6159          {txt}Pr(T > t) = {res}0.6921
{txt}
{com}. 
. *Crises
. use "Crises.dta", clear
{txt}
{com}. *Crises (brexit=duration in days)
. ttest brexit if conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    363{col 22} 235.6529{col 34} 13.44138{col 46} 256.0926{col 58} 209.2199{col 70} 262.0859
       {txt}1 {c |}{res}{col 12}      9{col 22} 57.22222{col 34} 17.84717{col 46} 53.54152{col 58} 16.06657{col 70} 98.37788
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    372{col 22}  231.336{col 34} 13.19905{col 46}  254.574{col 58} 205.3817{col 70} 257.2903
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 178.4307{col 34} 85.51791{col 58} 10.26859{col 70} 346.5928
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.0865
{txt}Ho: diff = 0                                     degrees of freedom = {res}     370

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9812         {txt}Pr(|T| > |t|) = {res}0.0376          {txt}Pr(T > t) = {res}0.0188
{txt}
{com}. ttest brexit if jtdem6==0 & conttype!=1, by(bothallsettle)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    146{col 22} 245.8836{col 34} 13.08308{col 46} 158.0834{col 58} 220.0254{col 70} 271.7417
       {txt}1 {c |}{res}{col 12}     71{col 22} 349.1831{col 34}   53.225{col 46} 448.4818{col 58} 243.0292{col 70}  455.337
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    217{col 22}  279.682{col 34} 19.71207{col 46}  290.377{col 58} 240.8294{col 70} 318.5347
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-103.2995{col 34} 41.51738{col 58}-185.1327{col 70}-21.46633
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.4881
{txt}Ho: diff = 0                                     degrees of freedom = {res}     215

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0068         {txt}Pr(|T| > |t|) = {res}0.0136          {txt}Pr(T > t) = {res}0.9932
{txt}
{com}. ttest brexit if bothallsettle==0 & conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    146{col 22} 245.8836{col 34} 13.08308{col 46} 158.0834{col 58} 220.0254{col 70} 271.7417
       {txt}1 {c |}{res}{col 12}      2{col 22}       49{col 34}        7{col 46} 9.899495{col 58}-39.94343{col 70} 137.9434
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    148{col 22}  243.223{col 34} 13.04133{col 46} 158.6546{col 58} 217.4503{col 70} 268.9957
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 196.8836{col 34} 112.1603{col 58}-24.78397{col 70} 418.5511
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.7554
{txt}Ho: diff = 0                                     degrees of freedom = {res}     146

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9594         {txt}Pr(|T| > |t|) = {res}0.0813          {txt}Pr(T > t) = {res}0.0406
{txt}
{com}. 
. 
. *The severity of violence used within crises
. ttest sevviosy if conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    363{col 22} 3.030303{col 34} .0670446{col 46} 1.277371{col 58} 2.898457{col 70} 3.162149
       {txt}1 {c |}{res}{col 12}      9{col 22} 2.222222{col 34} .3239418{col 46} .9718253{col 58} 1.475211{col 70} 2.969233
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    372{col 22} 3.010753{col 34} .0661522{col 46} 1.275898{col 58} 2.880672{col 70} 3.140833
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .8080808{col 34} .4290692{col 58}-.0356392{col 70} 1.651801
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.8833
{txt}Ho: diff = 0                                     degrees of freedom = {res}     370

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9698         {txt}Pr(|T| > |t|) = {res}0.0604          {txt}Pr(T > t) = {res}0.0302
{txt}
{com}. ttest sevviosy if jtdem6==0 & conttype!=1, by(bothallsettle)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    146{col 22} 3.363014{col 34} .0931677{col 46}  1.12575{col 58} 3.178872{col 70} 3.547156
       {txt}1 {c |}{res}{col 12}     71{col 22} 3.323944{col 34} .1311988{col 46} 1.105501{col 58} 3.062276{col 70} 3.585612
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    217{col 22}  3.35023{col 34} .0758103{col 46} 1.116755{col 58} 3.200808{col 70} 3.499653
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}   .03907{col 34} .1619313{col 58}-.2801062{col 70} .3582463
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.2413
{txt}Ho: diff = 0                                     degrees of freedom = {res}     215

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5952         {txt}Pr(|T| > |t|) = {res}0.8096          {txt}Pr(T > t) = {res}0.4048
{txt}
{com}. ttest sevviosy if bothallsettle==0 & conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    146{col 22} 3.363014{col 34} .0931677{col 46}  1.12575{col 58} 3.178872{col 70} 3.547156
       {txt}1 {c |}{res}{col 12}      2{col 22}        2{col 34}        1{col 46} 1.414214{col 58} -10.7062{col 70}  14.7062
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    148{col 22} 3.344595{col 34} .0933104{col 46}  1.13517{col 58} 3.160192{col 70} 3.528998
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 1.363014{col 34} .8030442{col 58}-.2240791{col 70} 2.950107
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.6973
{txt}Ho: diff = 0                                     degrees of freedom = {res}     146

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9541         {txt}Pr(|T| > |t|) = {res}0.0918          {txt}Pr(T > t) = {res}0.0459
{txt}
{com}. 
. *Crises are handled (negotiation, etc.) 
. ttest crismg if conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    363{col 22} 6.479339{col 34} .1167975{col 46} 2.225291{col 58} 6.249652{col 70} 6.709026
       {txt}1 {c |}{res}{col 12}      9{col 22} 5.888889{col 34} .6961091{col 46} 2.088327{col 58} 4.283658{col 70} 7.494119
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    372{col 22} 6.465054{col 34}  .115168{col 46}  2.22128{col 58}  6.23859{col 70} 6.691518
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}   .59045{col 34} .7499336{col 58}-.8842167{col 70} 2.065117
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.7873
{txt}Ho: diff = 0                                     degrees of freedom = {res}     370

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7842         {txt}Pr(|T| > |t|) = {res}0.4316          {txt}Pr(T > t) = {res}0.2158
{txt}
{com}. ttest crismg if jtdem6==0 & conttype!=1, by(bothallsettle)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    146{col 22} 6.739726{col 34} .1708726{col 46} 2.064661{col 58} 6.402003{col 70} 7.077449
       {txt}1 {c |}{res}{col 12}     71{col 22} 7.042254{col 34}  .216462{col 46} 1.823941{col 58} 6.610534{col 70} 7.473973
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    217{col 22}  6.83871{col 34} .1350879{col 46} 1.989969{col 58}  6.57245{col 70} 7.104969
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.3025275{col 34} .2878495{col 58}-.8698958{col 70} .2648408
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0510
{txt}Ho: diff = 0                                     degrees of freedom = {res}     215

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1472         {txt}Pr(|T| > |t|) = {res}0.2944          {txt}Pr(T > t) = {res}0.8528
{txt}
{com}. ttest crismg if bothallsettle==0 & conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    146{col 22} 6.739726{col 34} .1708726{col 46} 2.064661{col 58} 6.402003{col 70} 7.077449
       {txt}1 {c |}{res}{col 12}      2{col 22}      6.5{col 34}       .5{col 46} .7071068{col 58} .1468976{col 70}  12.8531
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    148{col 22} 6.736486{col 34} .1686392{col 46} 2.051585{col 58} 6.403216{col 70} 7.069757
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .239726{col 34} 1.465451{col 58}-2.656512{col 70} 3.135964
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1636
{txt}Ho: diff = 0                                     degrees of freedom = {res}     146

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5649         {txt}Pr(|T| > |t|) = {res}0.8703          {txt}Pr(T > t) = {res}0.4351
{txt}
{com}. 
. *After border settlement, crises less likely to have mediation.
. ttest mediaterev if conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    362{col 22} 2.038674{col 34} .0739919{col 46} 1.407792{col 58} 1.893165{col 70} 2.184183
       {txt}1 {c |}{res}{col 12}      9{col 22} 1.222222{col 34} .2222222{col 46} .6666667{col 58} .7097769{col 70} 1.734668
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    371{col 22} 2.018868{col 34} .0726677{col 46} 1.399679{col 58} 1.875974{col 70} 2.161761
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .8164518{col 34} .4710499{col 58}-.1098272{col 70} 1.742731
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.7333
{txt}Ho: diff = 0                                     degrees of freedom = {res}     369

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9581         {txt}Pr(|T| > |t|) = {res}0.0839          {txt}Pr(T > t) = {res}0.0419
{txt}
{com}. ttest mediaterev if jtdem6==0 & conttype!=1, by(bothallsettle)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    145{col 22} 2.206897{col 34} .1218065{col 46} 1.466745{col 58} 1.966137{col 70} 2.447656
       {txt}1 {c |}{res}{col 12}     71{col 22} 1.957746{col 34} .1659515{col 46} 1.398332{col 58} 1.626767{col 70} 2.288726
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    216{col 22}    2.125{col 34} .0983964{col 46} 1.446126{col 58} 1.931055{col 70} 2.318945
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2491501{col 34} .2092659{col 58}-.1633363{col 70} .6616364
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.1906
{txt}Ho: diff = 0                                     degrees of freedom = {res}     214

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8824         {txt}Pr(|T| > |t|) = {res}0.2351          {txt}Pr(T > t) = {res}0.1176
{txt}
{com}. ttest mediaterev if bothallsettle==0 & conttype!=1, by(jtdem6)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    145{col 22} 2.206897{col 34} .1218065{col 46} 1.466745{col 58} 1.966137{col 70} 2.447656
       {txt}1 {c |}{res}{col 12}      2{col 22}        2{col 34}        1{col 46} 1.414214{col 58} -10.7062{col 70}  14.7062
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    147{col 22} 2.204082{col 34} .1205472{col 46} 1.461557{col 58} 1.965839{col 70} 2.442324
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2068966{col 34}  1.04402{col 58}-1.856567{col 70}  2.27036
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1982
{txt}Ho: diff = 0                                     degrees of freedom = {res}     145

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5784         {txt}Pr(|T| > |t|) = {res}0.8432          {txt}Pr(T > t) = {res}0.4216
{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/aowsiak/Dropbox/Territorial Window (Solo)/CMPS 08-2015/Final Manuscript Files/All Published Results.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}25 Apr 2016, 09:35:58
{txt}{.-}
{smcl}
{txt}{sf}{ul off}